For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.10 (unreleased)

Delete resourceAdded in 8.6

POST 

/resources/:resourceKey/deletion

Strongly Consistent About endpoint data consistency

Deletes 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.

By default, only the resource itself is deleted from the runtime state. To also delete the historic data associated with a resource, set the deleteHistory flag in the request body to true. History deletion is supported for process definitions and decision requirements definitions; for other resource types (forms, generic resources) the flag is ignored and no history is deleted.

The two supported types differ in how the history is removed. For a decision requirements definition the history is deleted asynchronously via a batch operation whose details are returned in the batchOperation field of the response. For a process definition the definition first drains its running instances and its history is deleted asynchronously once the definition is fully removed cluster-wide; no batch operation is returned in the response.

Required permissions​

When authorization is enabled, this endpoint requires the following permission. See resources and permissions to learn more.

Resource typePermission
Determined at runtimeResolved from the deployed resource type — DELETE_PROCESS, DELETE_DRD, DELETE_FORM or DELETE_RESOURCE on RESOURCE.

Request​

Responses​

The resource is deleted.