Customer API

Deleting a User

1
DELETE https://<YOUR_INSTANCE_ID>.pushnotifications.pusher.com/customer_api/v1/instances/<YOUR_INSTANCE_ID>/users/<YOUR_USER_ID>
When sending the User ID in the path, make sure it's URL encoded.

Request headers

The following headers are necessary:

  • Authorization: with the value in the following format: Bearer <YOUR_SECRET_KEY>.

Error Responses

TitleStatus CodeDescription
Incomplete Request400instance-id param is missing from path.
Incomplete Request400Authorization header is missing.
Unauthorized401Incorrect API Key.
Instance not found404Could not find the instance.
Rate Limited429Too many requests being made in quick succession (max 100 RPS).
Something went wrong500Internal server error.