Skip to main content
DELETE
Delete a media item
Projects keep their own copy, so deleting media used by finished projects is safe. When to use: to remove source files you no longer need. Side effects: The media item is deleted from the library. Cost: Free. Idempotency: a repeat within the purge window returns 204. Required scopes: media:write Errors: media_in_use (409)

Authorizations

Authorization
string
header
required

API key from Settings -> API keys, sent as Authorization: Bearer <key> (SDK environment variable RASK_API_KEY). Bound to one workspace and one acting user. Operations list the scopes they need (OpenAPI 3.1 scopes on a bearer scheme).

Scopes

media:write

Path Parameters

media_id
string
required

Media id.

Maximum string length: 64

Response

No content.