Delete resource
POSThttp://localhost:8080/v2/resources/:resourceKey/deletion
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.
Request​
Path Parameters
The key of the resource to delete. This can be the key of a process definition, the key of a decision requirements definition or the key of a form definition
- application/json
Body
Possible values: >= 1
A reference key chosen by the user that will be part of all records resulting from this operation. Must be > 0 if provided.
Responses​
- 200
- 400
- 404
- 500
The resource is deleted.
The provided data is not valid.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
The resource is not found.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
An internal error occurred while processing the request.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- curl
- java
- nodejs
- csharp
- python
- go
- CURL
curl -L -X POST 'http://localhost:8080/v2/resources/:resourceKey/deletion' \
-H 'Content-Type: application/json' \
--data-raw '{
"operationReference": 0
}'