SetPushCredential

View as Markdown

Modifies push credentials.

Allowed roles: Owner, Admin, Developer.

Example request: Modify credentials.

Authentication

AuthorizationBearer
Voximplant Management API uses signed JWT tokens generated from your service-account private key. Pass the token in the `Authorization` header as a Bearer value: ``` Authorization: Bearer $VOXIMPLANT_TOKEN ``` See [Authorization](/api-reference/management-api/authorization) for ready-to-copy snippets in bash, Python, Node.js and Go that turn your `credentials.json` into a token.

Query parameters

push_credential_idintegerRequired
The push credentials id
cert_passwordstringOptional
The secret password for private key. Credentials for APPLE push
is_dev_modebooleanOptional
Whether to use this certificate in apple's sandbox environment. Credentials for APPLE push
sender_idstringOptional
The sender id, provided by Google. Credentials for GOOGLE push
server_keystringOptional
The server key, provided by Google. Credentials for GOOGLE push
huawei_client_idstringOptional
The client id, provided by Huawei. Credentials for HUAWEI push
huawei_client_secretstringOptional
The client secret, provided by Huawei. Credentials for HUAWEI push
huawei_application_idstringOptional
The application id, provided by Huawei. Credentials for HUAWEI push

Request

This endpoint expects a multipart form with multiple files.
cert_contentfileOptional
Public and private keys in PKCS12 format. Credentials for APPLE push
service_account_filefileOptional

The service account key file, provided by Google. Can be used instead of server_key. Credentials for GOOGLE push

Response

Successful response
resultinteger