Skip to main content
PUT
/
notifications
/
push
/
v1
/
providers
/
apns
/
default
/
{providerId}
Change default APNS Provider
curl --request PUT \
  --url https://{appId}.api-{region}.cometchat.io/v3/notifications/push/v1/providers/apns/default/{providerId} \
  --header 'apikey: <api-key>'
{
  "data": {
    "success": true
  }
}
For the complete error reference, see Error Guide.

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

data
any