boldsign
Version:
NodeJS client for boldsign
19 lines (16 loc) • 588 B
text/typescript
import { DocumentApi } from '../api/documentApi';
import { DocumentTags } from '../model';
const documentApi = new DocumentApi();
documentApi.setApiKey("YOUR_API_KEY");
const documentTags = new DocumentTags();
documentTags.documentId = "YOUR_DOCUMENT_ID";
documentTags.tags = ["test", "api"];
async function deleteTagsFromDocument() {
try {
await documentApi.deleteTag(documentTags);
console.log("Tags deleted successfully!");
} catch (error:any) {
console.error("Error occurred while calling the API:", error.message);
}
}
deleteTagsFromDocument();