Chat / Platform API
Current version: v3
    Chat Platform API v3
    Chat Platform API
    Chat
    Platform API
    Home
    /
    Chat
    /
    Platform API
    /
    Application

    Remove a push configuration

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


    HTTP request

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

    Parameters

    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

    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.