Remove a tag from a file

View as Markdown

Removes a tag label from a single file (the :tagLabel path segment, URL-decoded and lowercased). Requires file:write on the project.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Path parameters

projectIdstringRequired
fileIdstringRequired
tagLabelstringRequired

Response

The file with the tag removed.
fileobject

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error