Skip to content

Delete an Image

Endpoint:

DELETE https://api.mailjet.com/v1/rest/images/:id

Permanently delete an image using its unique ID.

Warning!

Once an image is deleted through this endpoint, it cannot be restored. Ensure you have verified the image ID and are certain about deleting the image before proceeding with this action.

URL Parameters

id: The ID of the image.

Example Request

curl --request DELETE \
  --url https://api.mailjet.com/v1/rest/images/9c803aa4-4e97-453c-aa89-4a9134f7f01f
  --header 'Authorization: Bearer 612d5125131d406081abb9cd2afdc4e3'

Status Code: 204