BoldSales

API Documentation

Delete a tag

delete/api/v1/tags/{tagId}

Delete an existing tag by providing the tag ID. This operation permanently removes the tag from the application and removes all its associations with modules and records.

Code snippet

curl -X 'DELETE' \
'http://localhost:5080/api/v1/tags/1234' \
-H 'accept: text/plain; x-api-version=1.0' \
-H 'x-api-key: {your API key}' \
-H 'Content-Type: application/json-patch+json; x-api-version=1.0'
var client = new RestClient("http://localhost:5080/api/");
var request = new RestRequest("v1/tags/{tagId}", Method.DELETE);

request.AddUrlSegment("tagId", "1234");

request.AddHeader("x-api-key", "your_api_key");
request.AddHeader("accept", "application/json");

RestResponse response = client.Execute(request);

Path parameters

tagIdintRequiredUnique identifier of the tag to be deleted.

Example response

200 Success

{
  "message": "Tag deleted successfully.",
  "data": {
    "recordId": 1234
  }
}