Tags

Delete a company tag

DELETE
/api/v1/tags/{id}

Delete a company tag

Delete a company tag. This will also remove all Document-Tag associations with this tag. Requires tag deletion permission.

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

A unique integer value identifying this Tag.

Header Parameters

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

Response Body

application/json

application/json

curl -X DELETE "https://example.com/api/v1/tags/0"
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}