PUT
/
notifications
/
push
/
v1
/
providers
/
fcm
/
default
/
{providerId}
Change default FCM Provider
curl --request PUT \
  --url https://{appid}.api-{region}.cometchat.io/v3/notifications/push/v1/providers/fcm/default/{providerId} \
  --header 'apikey: <api-key>'
{
  "data": {
    "success": true
  }
}

Authorizations

apikey
string
header
required

API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).

Path Parameters

providerId
string
required

Provider ID.

Response

200 - application/json

A list of push notification's settings

The response is of type object.