Unltd AI logo

Getting started


Delete Single Tag

DELETE https://api.unltd.ai/v1/organizations/:organizationId/tags/:tagId/

This endpoint deletes a specific Tag entity that belongs to an organization, based on the provided organization ID and tag ID.

Path Parameters

organizationId

string

The unique identifier of the organization.

tagId

string

The unique identifier of the tag to be deleted.

Permissions

This request requires an authenticated user who is a member of the organization or an organization token.

API Example

const fetch = require('node-fetch');

async function fetchApiData() {
  const response = await fetch('https://api.unltd.ai/v1/organizations/example_org_id/tags/example_tag_id/', {
    method: 'DELETE',
    headers: {
      'Authorization': 'Bearer ',
      'Content-Type': 'application/json',
    },
  });

  const data = await response.json();
  console.log(data);
}

fetchApiData();

Response

204 success

The response object will be returned as a message.
{
  "message": "Tag deleted successfully."
}