/ Platform API
Platform API
    Chat Platform API v3
    Chat Platform API
    Chat Platform API
    Version 3

    Remove a push configuration

    Copy link

    Removes a specific push configuration from a Sendbird application. The type of a push configuration is either fcm, huawei, or apns.


    HTTP request

    Copy link
    DELETE https://api-{application_id}.sendbird.com/v3/applications/push/{push_type}/{provider_id}
    

    Parameters

    Copy link

    The following table lists the parameters that this action supports.

    Required
    Parameter nameTypeDescription

    push_type

    string

    Specifies the type of the push configuration. Acceptable values are fcm for FCM, huawei for HMS, and apns for APNs.

    provider_id

    string

    Specifies the provider ID of the push configuration.


    Response

    Copy link

    If successful, this action returns the provider ID of a removed push configuration in the response body.

    {
        "push_configurations": [
            "7757a4d45610dfb0c772f14134610c6ff3121e59"
        ]
    }
    

    In the case of an error, an error object is returned. A detailed list of error codes is available here.