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 boldsign

configuration = boldsign.Configuration(
    api_key = "YOUR_API_KEY"
)

with boldsign.ApiClient(configuration) as api_client:

    document_api = boldsign.DocumentApi(api_client)
    
    document_tags = boldsign.DocumentTags(
        documentId="YOUR_DOCUMENT_ID",
        tags=[
            "test",
            "api"
        ]
    )
    
    delete_tag_response = document_api.delete_tag(
        document_tags=document_tags
    )
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