Media
Move multiple media attachments to Trash
POST
/media/batch-deleteAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/media/batch-delete" \ -H "Content-Type: application/json" \ -d '{ "media_ids": [ "string" ] }'{ "$schema": "https://example.com/api/v1/schemas/BatchDeleteMediaOutputBody.json", "deleted": 0, "failed_ids": [ "string" ]}