Passer au contenu principal
PUT
/
guardian
/
factors
/
push-notification
/
providers
/
apns
Update APNS configuration
curl --request PUT \
  --url https://{tenantDomain}/api/v2/guardian/factors/push-notification/providers/apns \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "sandbox": true,
  "bundle_id": "<string>",
  "p12": "<string>"
}
'
{
  "sandbox": true,
  "bundle_id": "<string>"
}

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corps

sandbox
boolean
bundle_id
string | null
Required string length: 1 - 1000
p12
string | null
Required string length: 1 - 10000

Réponse

APNS configuration successfully updated.

sandbox
boolean
bundle_id
string | null
Required string length: 1 - 1000