ressource.socialbetadocumentation
API referenceMedia

Remove an attachment and its file

Owner only: someone else's attachment is 404.

DELETE/api/v1/attachments/{id}

“Try it” is off for this endpoint: it deletes or rewrites data in bulk. Use the code samples instead.

Owner only: someone else's attachment is 404.

Authorization

headerAuthorizationBearer <token>

A personal access token (rsk_…) or a Supabase access token.

Path Parameters

id*string
Match^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

Response Body

Removed

curl -X DELETE 'https://www.ressource.social/api/v1/attachments/string'
Empty