Delete document tags


Each document has its own set of tags that can be used for searching the document. This API allows users to delete tags from the document that are no longer supported.

Code snippet

curl -X DELETE "" 
     -H 'X-API-KEY: {your API key}'  
     -H "Content-Type: application/json" 
     -d "{\"documentId\": \"{documentId}\", \"tags\": [\"test\", \"api\"]}"
var apiClient = new ApiClient("", "{apikey}");
var documentclient = new DocumentClient(apiClient);
var deletetag = new DocumentTags()
    DocumentId = "{documentId}",
    Tags = new List<string>() { "test", "api" },
await documentclient.DeleteTagAsync(deletetag).ConfigureAwait(false);
import requests
import json

url = ""

payload = json.dumps({
  "documentId": "{documentId}",
  "tags": [
headers = {
  'X-API-KEY': '{apikey}',
  'Content-Type': 'application/json'

response = requests.request("DELETE", url, headers=headers, data=payload)
const axios = require('axios'); 
await axios.delete( 


            headers: { 
                'X-API-KEY': '{Your API key}', 
                'Content-Type': 'application/json' 

            data: { 
                documentId: '{documentId}', 
                tags: [ 'test', 'api' ] 

Request body

documentIdstringRequiredID of the requested document
tagsstringRequiredA collection of tags that will be removed from the document. Each tag cannot exceed 255 characters and cannot contain white space.

Example response

200 Success