ressource.socialbetadocumentation
API referenceMedia

Remove a community file

Its uploader, the source's owner, or an admin or owner of its community — each only while they can see it. A file the caller cannot see is 404 (the same answer as an unknown id); one they can see but may not remove is 403.

DELETE/api/v1/community-attachments/{id}

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

Its uploader, the source's owner, or an admin or owner of its community — each only while they can see it. A file the caller cannot see is 404 (the same answer as an unknown id); one they can see but may not remove is 403.

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/community-attachments/string'
Empty