Update Windows MPNS Cert details
The Update Windows MPNS Cert Details API updates the MPNS certificate.
URL
The HTTP URL for Update Windows MPNS Cert Details API is:
http://<host>:<port>/api/v1/applications/{appId}/windows
This service implements Gateway Filter for Authentication to authenticate access of the service by a user.
Method
POST
Input Parameters
The following fields are the input parameters:
| Input Parameter | Required | Type | Description |
|---|---|---|---|
| appId | Yes | alphanumeric | Unique ID assigned to the app |
Sample Request
Form Params:
mpnsCert: .p12 file
mpnsCertPassPhrase: Certificate password
Sample Response
{
"message" : "Details updated successfully",
"id" : "appid"
}
Response Status
| Code | Description |
|---|---|
| Status 200 | Details updated successfully |
| Status 401 | Unauthorized request |
| Status 500 | Server failure to process request |