DELETE
/api/v1/tags/{id}Path Parameters
string
required
The numeric ID of the tag to delete. Must match the pattern
\d+.Code Examples
Response
Returns204 No Content on success. No response body is returned.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Permanently delete a tag from your ChatbotX workspace by its unique ID. Contacts that held the tag will no longer have it assigned.
/api/v1/tags/{id}\d+.curl --request DELETE \
--url https://app.chatbotx.io/api/v1/tags/203 \
--header 'Authorization: Bearer <token>'
import requests
url = "https://app.chatbotx.io/api/v1/tags/203"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.status_code) # 204 on success
const options = {
method: 'DELETE',
headers: { Authorization: 'Bearer <token>' }
};
fetch('https://app.chatbotx.io/api/v1/tags/203', options)
.then(res => {
if (res.status === 204) console.log('Tag deleted successfully.');
})
.catch(err => console.error(err));
204 No Content on success. No response body is returned.