Skip to main content
DELETE
/
mobile_push_credentials
/
{push_credential_id}
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});

await client.mobilePushCredentials.delete('0ccc7b76-4df3-4bca-a05a-3da1ecc389f0');
{
  "errors": [
    {
      "code": "10015",
      "title": "Bad Request",
      "detail": "has already been taken",
      "source": {
        "pointer": "/mobile_push_credentials",
        "parameter": "application_name"
      },
      "meta": {
        "url": "https://developers.telnyx.com/docs/overview/errors/10015"
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

push_credential_id
string<uuid>
required

The unique identifier of a mobile push credential

Example:

"0ccc7b76-4df3-4bca-a05a-3da1ecc389f0"

Response

The mobile push credential was deleted successfully