deleteCaseFollower(caseID, followerID, context)
Deletes the follower of a case.
Returns
A Promise that deletes the follower of a case.
Parameters
Name | Type | Description | Required |
caseID | string | The ID of the case whose follower must be deleted. | ✅ |
followerID | string | The ID of the follower which must be deleted for a case. | ✅ |
context | string | The name of the context where the API is being called. | ✅ |
Usage example
In this example, the API deletes the follower whose ID is user-1
for
the case whose ID is W-02
.
PCore.getCaseFollowerApi().deleteCaseFollower('W-02', 'user-1' , 'app/primary_1')
.then(() => {
// success
}).catch(err => {
// errors
});
Previous topic addCaseFollower(caseID, userID, context) Next topic getCaseFollowers(caseID, context)