Okta Admin Management API
/Authenticators
//
Replace a push provider
OAuth 2.0 scope:
- okta.pushProviders.manage
Replaces a push provider by pushProviderId
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/push-providers/{pushProviderId}
curl -i -X PUT \
'https://subdomain.okta.com/api/v1/push-providers/{pushProviderId}' \
-H 'Content-Type: application/json' \
-d '{
"name": "APNs Example",
"providerType": "APNS",
"configuration": {
"keyId": "KEY_ID",
"teamId": "TEAM_ID",
"tokenSigningKey": "-----BEGIN PRIVATE KEY-----\\nPRIVATE_KEY\\n-----END PRIVATE KEY-----\\n",
"fileName": "fileName.p8"
}
}'OK
Specifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
Response
{ "id": "ppctekcmngGaqeiBxB0g4", "name": "APNs Example", "providerType": "APNS", "lastUpdatedDate": "2022-01-01T00:00:00.000Z", "configuration": { "keyId": "KEY_ID", "teamId": "TEAM_ID", "fileName": "fileName.p8" }, "_links": { "self": { … } } }