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

Autorisations

Authorization
string
header
requis

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

Corps

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

Réponse

Configuration APNS mise à jour avec succès.

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