Delete document tags

delete/v1/document/deleteTags

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 "https://api.boldsign.com/v1/document/deleteTags" 
     -H 'X-API-KEY: {your API key}'  
     -H "Content-Type: application/json" 
     -d "{\"documentId\": \"{documentId}\", \"tags\": [\"test\", \"api\"]}"
var apiClient = new ApiClient("https://api.boldsign.com", "{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 = "https://api.boldsign.com/v1/document/deleteTags"

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

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

        'https://api.boldsign.com/v1/document/deleteTags', 

        { 
            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