curl --location --request DELETE 'https://dashboard.laburen.com/api/annotations/clxxxxxxxxxxxxxxxxx' \
--header 'Authorization: Bearer <API_KEY>'
const apiUrl = 'https://dashboard.laburen.com/api';
const apiKey = '<API_KEY>';
const response = await fetch(`${apiUrl}/annotations/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/clxxxxxxxxxxxxxxxxx",
headers={
"Authorization": f"Bearer {api_key}",
},
)
data = response.json()
print(data)
{
"success": true
}
Annotations
Annotation - Delete
Delete an annotation.
DELETE
/
api
/
annotations
/
{id}
curl --location --request DELETE 'https://dashboard.laburen.com/api/annotations/clxxxxxxxxxxxxxxxxx' \
--header 'Authorization: Bearer <API_KEY>'
const apiUrl = 'https://dashboard.laburen.com/api';
const apiKey = '<API_KEY>';
const response = await fetch(`${apiUrl}/annotations/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/clxxxxxxxxxxxxxxxxx",
headers={
"Authorization": f"Bearer {api_key}",
},
)
data = response.json()
print(data)
{
"success": true
}
This endpoint deletes an annotation. It supports:
- Deleting annotations by ID
- Verifying annotation ownership before deletion
- Returning a success confirmation
Authentication is required. You must provide a valid session with an organization ID, and the annotation must belong to your organization.
Path
Response
Error Responses
| Status Code | Type | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Missing or invalid authentication session, or annotation does not belong to your organization. |
| 404 | NOT_FOUND | Annotation with the specified ID does not exist. |
curl --location --request DELETE 'https://dashboard.laburen.com/api/annotations/clxxxxxxxxxxxxxxxxx' \
--header 'Authorization: Bearer <API_KEY>'
const apiUrl = 'https://dashboard.laburen.com/api';
const apiKey = '<API_KEY>';
const response = await fetch(`${apiUrl}/annotations/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/clxxxxxxxxxxxxxxxxx",
headers={
"Authorization": f"Bearer {api_key}",
},
)
data = response.json()
print(data)
{
"success": true
}
Was this page helpful?

