Application MFA Push Credentials
Push credentials are required for the purpose of sending push notifications to a native application. Push credentials must be defined for the application.
The push credentials endpoint implements functions to create, read, update and delete the push credentials associated with native application resources.
There are three types of push credentials:
-
APNS(Apple) -
FCM_HTTP_V1(Google) -
HMS(Huawei)
The FCM type, used previously for Google Play-based applications, is no longer supported. Use FCM_HTTP_V1 instead.
|
The request bodies, their mandatory properties, and responses vary according to the push credential type. |
MFA push credentials data model
| Property | Type | Required | Mutable | Description |
|---|---|---|---|---|
type |
String |
Required |
Immutable |
Specifies the push credential type. * * * * |
clientId |
String |
Required |
Immutable |
Used only if |
clientSecret |
String |
Required |
Immutable |
Used only if |
googleServiceAccountCredentials |
String |
Required |
Immutable |
Used when |
key |
String |
Required |
Immutable |
Used when |
teamId |
String |
Required |
Immutable |
Used only if |
token |
String |
Required |
Immutable |
Used only if |
Response codes
| Code | Message |
|---|---|
200 |
Successful operation. |
201 |
Successfully created. |
204 |
Successfully removed. No content. |
400 |
The request could not be completed. |
401 |
You do not have access to this resource. |
403 |
You do not have permissions or are not licensed to make this request. |
404 |
The requested resource was not found. |
500 |
Unexpected server error. |
Application MFA push credential errors
In addition to the general error codes, application MFA push credential operations can return the following errors:
| HTTP status | Top‑level code | Detail code | When it happens and what the response contains |
|---|---|---|---|
400 |
|
|
Message: When and detailsWhen: A Details: |
400 |
|
|
Message: When and detailsWhen: A Details: |
400 |
|
|
Message: When and detailsWhen: A Details: |
400 |
|
|
Message: When and detailsWhen: A Details: |
400 |
|
|
Message: When and detailsWhen: A Details: |
400 |
|
|
Message: Property 'type' is immutable and cannot be changed on push credentials '<pushCredentialsId>' in environment '<environmentId>', application '<applicationId>' When and detailsWhen: A Details: |
400 |
|
None |
Message: When and detailsWhen: A path identifier cannot be parsed as a UUID. The top‑level code is Details: None. |
400 |
|
|
Message: When and detailsWhen: A Details: For a JSON field conversion error, the target is the field path. Otherwise no detail is returned. |
403 |
|
None |
Message: When and detailsWhen: The actor lacks the Details: None. |
404 |
|
None |
Message: When and detailsWhen: The application ID in the request URL does not exist (applies to all operations) Details: None. |
404 |
|
None |
Message: When and detailsWhen: Details: None. |
404 |
|
|
Message: When and detailsWhen: A Details: |