Tags
Remove users from tags.
Changed onRemoves specific users from one or more tags without affecting other users' assignments. Use this when offboarding users or revoking access to specific content.
Tags are called labels in the API, so paths and fields use label (for example labelId and labels).
delete/api/v1/projects/{projectId}/labels/users
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. You can find this in the CustomGPT dashboard or from the response of POST /api/v1/projects.
Request body
Example request
{
"labels": [
{
"id": 123,
"users": [
"manager@example.com"
]
}
]
}Response
Delete tag-user mappings for a project
Example response
{
"status": "success",
"data": {
"deleted": true
}
}Changes
- info
endpoint added
- info