Delete resource
POST/resources/:resourceKey/deletion
Strongly Consistent About endpoint data consistency
Learn about endpoint consistencyDeletes a deployed resource.
This can be a process definition, decision requirements
definition, or form definition deployed using the deploy resources endpoint. Specify the
resource you want to delete in the resourceKey parameter.
Once a resource has been deleted it cannot be recovered. If the resource needs to be available again, a new deployment of the resource is required.
Only the resource itself is deleted from the runtime state. Deleting historic data associated with a resource is not supported.
Request
Responses
- 200
- 400
- 404
- 500
- 503
The resource is deleted.
The provided data is not valid.
The resource is not found.
An internal error occurred while processing the request.
The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. In this case, the title of the error object contains RESOURCE_EXHAUSTED. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .