Skip to main content

Delete Process API

The following APIs allow you to delete a single process. A process can be deleted basis its chakra processId or via its primaryKey value.

Note: All the apis accept api key based token authentication and return data within the wrapper { _data:{}, _meta: {}, _errors:[] }

Update by processId

DELETE /v1/ext/procedure/<procedureShortId>/process/<processId>

Following are valid examples of the path

DELETE /v1/ext/procedure/lead/process/1bc10281-5882-43aa-b48d-28c527335e7a
DELETE /v1/ext/procedure/ticket/process/705bab28-0042-43d5-9b7f-6e72eb411b5b
DELETE /v1/ext/procedure/fieldvisit/process/c6216cc5-81d1-4741-941d-a1a65751a8aa

Update by primaryKey value

DELETE /v1/ext/procedure/<procedureShortId>/process/<primaryKeyShortId>/<primaryKeyValue>

Following are valid examples of the path

DELETE /v1/ext/procedure/lead/process/lead_id/LEAD-001
DELETE /v1/ext/procedure/ticket/process/ticket_id/1
DELETE /v1/ext/procedure/fieldvisit/process/fieldvisit_id/abc123

The response structure is the same as "Fetch Process" api.