The DELETE method has two forms, one for single resources and one for multiple resources.
Method |
URL |
||
DELETE |
http://<host>:<port>/jasperserver[-pro]/rest_v2/resources/path/to/resource |
||
Return Value on Success |
Typical Return Values on Failure |
||
204 No Content – The request was successful and there is no descriptor to return. |
404 Not Found – When the resource path or ID is not valid. |
To delete multiple resources at once, specify multiple URIs with the resourceUri parameter.
Method |
URL |
||
DELETE |
http://<host>:<port>/jasperserver[-pro]/rest_v2/resources?resourceUri={uri]&... |
||
Parameter |
Type/Value |
Description |
|
resourceURI |
string |
Specifies a resource to delete. Repeat this paramter to delete multiple resources. |
|
Return Value on Success |
Typical Return Values on Failure |
||
204 No Content – The request was successful and there is no descriptor to return. |
404 Not Found – When the {resourceUri} is not valid. |