question

Upvotes
Accepted
42 11 18 18

How do we delete a case or remove it from a group using WC1 API ?

What is the sequence to be used to delete a case or remove it from a group using WC1 API ?

world-checkworld-check-one
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
4.5k 4 8 8

@nabil.hassoumi,

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.