This is the API for deleting media from the service.
It supports the deletion of both images and files.
This is the authentication key required for the request.
Please enable "Delete Media" permissions in the Management API and include it in the request header when sending.

If the X-MICROCMS-API-KEY is identifiable, it may allow unauthorized manipulation of content by third parties. Please handle it with care. For more details, please refer to "API Key (API Authentication and Authorization Management)".
This API allows you to specify parameters.
Specify the URL of the media you want to delete.
?url=https://images.microcms-assets.io/assets/xxxxx/yyyyy/hoge.jpg
?url=https://files.microcms-assets.io/assets/xxxxx/yyyyy/hoge.pdfNot needed.
If the content is successfully deleted, a 200 response will be returned.
If the content is successfully deleted, a response like the following will be returned.
{"id":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}This is the internal ID of the deleted media.