PUT
/
notifications
/
push
/
v1
/
providers
/
apns
Update APNS Providers
curl --request PUT \
  --url https://{appid}.api-{region}.cometchat.io/v3/notifications/push/v1/providers/apns \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "providerId": "<string>",
  "keyId": "<string>",
  "teamId": "<string>",
  "bundleId": "<string>",
  "p8KeyFilename": "<string>",
  "p8Key": "<string>",
  "includeContentAvailable": true,
  "includeMutableContent": true,
  "productionMode": true
}'
{
  "data": {
    "success": true
  }
}

Authorizations

apikey
string
header
required

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

Body

application/json

Response

200 - application/json

A list of push notification's settings

The response is of type object.