Delete media
Delete WhatsApp media. May be outbound or inbound media.
Please log in to see full path URL. Learn why.
delete
/whatsapp/1/senders/{sender}/media
Authorizations:
Scopes:
Request rate limit:
30 requests / minute (per account)
path Parameters
sender required | string Example: 447796344125 Registered WhatsApp sender number. Must be in international format. |
Request Body schema:
application/jsoncollapse all -
url required | string URL of the WhatsApp media to be deleted. |
Responses
204
Media successfully deleted
400
Bad Request
401
Unauthorized
403
Forbidden
404
Media not found
429
Too Many Requests
500
Internal Server Error
Request samples
- Payload
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Content type
application/json
Copy
Collapse all {
}
Response samples
- 400
- 401
- 403
- 429
- 500
Content type
application/json
Copy
Collapse all {- "requestError": {
- "serviceException": {
- "messageId": "BAD_REQUEST",
- "text": "Bad request"
}
}
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See