Delete Push Inbox message for a specific user
Deletes a single Push Inbox message from a specific user's inbox. Requires specifying either campaignId or bulkId.
Please log in to see full path URL. Learn why.
delete
/push/1/user/{externalUserId}/inbox/messages
Authorizations:
Scopes:
path Parameters
externalUserId required | string External identifier of the user |
query Parameters
campaignId | string
|
bulkId | string
|
messageId | string
|
Responses
202
Accepted
400
Bad request
401
Unauthorized
403
Forbidden
404
Not Found
429
Too Many Requests
500
Internal Server Error
Request samples
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Example
cURL
Copy
curl -L -g -X DELETE 'https://{baseUrl}/push/1/user/{externalUserId}/inbox/messages' \ -H 'Authorization: {authorization}' \ -H 'Accept: application/json'
Response samples
- 202
- 400
- 401
- 403
- 404
- 429
- 500
Content type
application/json
Example
Success with campaignId
Success with campaignId
Copy
Collapse all {- "campaignId": "100004815162342",
- "message": "Your request has been submitted successfully."
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See