removeTag(caseID, tagID, c11nEnv)
Removes a tag from a specific case.
Returns
A Promise that resolves to an object.
Parameters
Name | Type | Description | Required |
caseID | string | The ID of the case from which the tag must be removed. | ✅ |
tagID | string | The ID of the tag that is to be removed from the case. | ✅ |
c11nEnv | object | The name of the context where the API is being called. | ✅ |
Usage example
In this example, the API removes the tag whose ID is Tag1
from the
case whose ID is W-102
.
PCore.getTagUtils().deleteTag('W-102', 'Tag1', 'app/primary_1')
.then(() => {
// success
}).catch(err => {
// errors
});
Previous topic postTags(caseID, tags, c11nEnv) Next topic APIs in the UserApi module