What is the sequence to be used to delete a case or remove it from a group using WC1 API ?
For a deeper look into our World Check One API, look into:
What is the sequence to be used to delete a case or remove it from a group using WC1 API ?
API call to delete a case is available in the Postman collection v1.5
'Case delete' option needs to be enabled by the Customer Entitlement Team for the specific client, so that they may be able to delete the cases. It is not enabled by default for the account.
After the account has been enabled with the 'Case delete' access, please follow the below instructions to delete a case using World-Check One API.
Pre-checks :
Permission to 'Delete a case' should be added for the specific Group, User and Role.
Permissioning:
Go to Admin section from UI > Roles > Select the specific group to see the permissions
> If 'Delete a case' is not under the permissions - click on Edit and add the 'Delete a case' option > Save
Once the above permissions have been granted, you can then call the below API calls to delete a case -
Step 1 :SEQ-case-archive: Archive a case - In order to delete a case, the case should be first archived.
Step 2 :SEQ-case-delete: Delete a case
Response code for a successful deletion of case is 204
Note :
- A case can only be delete once it is archived.