Files

Remove a tag from a file

DELETE
/api/v1/files/{id}/tags/{tag_id}

Remove a tag from a file.

Authorization

bearerAuth
AuthorizationBearer <token>

Console session token (Authorization: Bearer <session>) or product API key (Authorization: Bearer <api-key> or x-api-key). Session tokens are validated via Better Auth get-session; API keys against the shared database.

In: header

Path Parameters

id*Id
tag_id*Tag Id

Header Parameters

authorization?string|null
x-api-key?string|null

Response Body

application/json

curl -X DELETE "https://example.com/api/v1/files/0/tags/0"
Empty