Tags
Delete a tag.
Changed onPermanently deletes a tag and removes all associated assignments (both user-to-tag and document-to-tag mappings). Documents that lose their only tag will become accessible to everyone.
Tags are called labels in the API, so paths and fields use label (for example labelId and labels).
delete/api/v1/projects/{projectId}/labels/{labelId}
Request
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
The unique identifier of the agent.
labelIdinteger required
The unique identifier of the tag to operate on.
Response
Delete tag-user mappings for a project
Example response
{
"status": "success",
"data": {
"deleted": true
}
}Changes
- info
endpoint added
- info