Create a Push Provider
POST {{baseUrl}}/api/v1/push-providers
Creates a new push provider
Request Body
{"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"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"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":{"href":"https://your-subdomain.okta.com/api/v1/push-providers/ppctekcmngGaqeiBxB0g4","hints":{"allow":["DELETE","GET","PUT"]}}}}