Delete a source tag based on uuid
Last updated 5 months ago
DELETE / api / v1 / source-tag / {uuid} / delete
/ api / v1 / source-tag / {uuid} / delete
Authorization string Bearer <your_token>
Bearer <your_token>
uuid string required
curl --location --request DELETE 'https://app.aichatbothub.com/api/v1/source-tag/{uuid}/delete' \ --header 'Authorization: Bearer <token>'
import requests uuid = '<agent-uuid>' url = f'https://app.aichatbothub.com/api/v1/source-tag/{uuid}/delete' headers = { 'Authorization': 'Bearer <token>' } response = requests.delete(url, headers=headers) if response.status_code == 200: print("Request successful! agent deleted.") else: print("Request failed with status code:", response.status_code) print(response.text)
const axios = require("axios"); const uuid = "<agent-uuid>"; const url = `https://app.aichatbothub.com/api/v1/source-tag/${uuid}/delete`; const headers = { Authorization: "Bearer <token>", }; axios .delete(url, { headers }) .then((response) => { console.log("Request successful! agent deleted."); }) .catch((error) => { console.error("Request failed:", error); });
success boolean
Indicates if api call was successful
{ "success": true }