curl --location --request DELETE 'https://dashboard.laburen.com/api/annotations/tags/clxxxxxxxxxxxxxxxxx' \
--header 'Authorization: Bearer <API_KEY>'
const apiUrl = 'https://dashboard.laburen.com/api';
const apiKey = '<API_KEY>';
const response = await fetch(`${apiUrl}/annotations/tags/clxxxxxxxxxxxxxxxxx`, {
method: 'DELETE',
headers: {
'Authorization': `Bearer ${apiKey}`,
},
});
const data = await response.json();
console.log(data);
import requests
api_url = "https://dashboard.laburen.com/api"
api_key = "<API_KEY>"
response = requests.delete(
f"{api_url}/annotations/tags/clxxxxxxxxxxxxxxxxx",
headers={
"Authorization": f"Bearer {api_key}",
},
)
data = response.json()
print(data)
{
"success": true
}
Annotations
Annotation Tags - Delete
Delete a specific annotation tag from the organization.
DELETE
/
api
/
annotations
/
tags
/
{id}
curl --location --request DELETE 'https://dashboard.laburen.com/api/annotations/tags/clxxxxxxxxxxxxxxxxx' \
--header 'Authorization: Bearer <API_KEY>'
const apiUrl = 'https://dashboard.laburen.com/api';
const apiKey = '<API_KEY>';
const response = await fetch(`${apiUrl}/annotations/tags/clxxxxxxxxxxxxxxxxx`, {
method: 'DELETE',
headers: {
'Authorization': `Bearer ${apiKey}`,
},
});
const data = await response.json();
console.log(data);
import requests
api_url = "https://dashboard.laburen.com/api"
api_key = "<API_KEY>"
response = requests.delete(
f"{api_url}/annotations/tags/clxxxxxxxxxxxxxxxxx",
headers={
"Authorization": f"Bearer {api_key}",
},
)
data = response.json()
print(data)
{
"success": true
}
This endpoint deletes a specific annotation tag by ID. It supports:
- Verifying tag ownership (tags can only be deleted by the organization that owns them)
- Automatic validation that the tag exists before deletion
Path
string
required
The unique identifier (CUID) of the annotation tag to delete.
Response
boolean
Indicates whether the deletion was successful. Always
true on successful deletion.Error Responses
| Status Code | Type | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Missing or invalid authentication session. |
| 404 | NOT_FOUND | The tag with the specified ID does not exist or does not belong to the organization. |
curl --location --request DELETE 'https://dashboard.laburen.com/api/annotations/tags/clxxxxxxxxxxxxxxxxx' \
--header 'Authorization: Bearer <API_KEY>'
const apiUrl = 'https://dashboard.laburen.com/api';
const apiKey = '<API_KEY>';
const response = await fetch(`${apiUrl}/annotations/tags/clxxxxxxxxxxxxxxxxx`, {
method: 'DELETE',
headers: {
'Authorization': `Bearer ${apiKey}`,
},
});
const data = await response.json();
console.log(data);
import requests
api_url = "https://dashboard.laburen.com/api"
api_key = "<API_KEY>"
response = requests.delete(
f"{api_url}/annotations/tags/clxxxxxxxxxxxxxxxxx",
headers={
"Authorization": f"Bearer {api_key}",
},
)
data = response.json()
print(data)
{
"success": true
}
Was this page helpful?

