{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

Delete

Deletes the comparison with the given GUID. If the comparison specified by GUID does not exist, the server responds with HTTP error code 404. If the current user is not the owner of the comparison, the server responds with HTTP error code 403.

GET /api/comparison/<GUID>/delete

Permanently deletes the specified comparison.

REQUEST Parameter Value Description
format html Defines the type of the response.
json (Default)

Example Request

# Request
# Use user:password for authorization
GET /api/comparison/TG9yZW0gaXBzdW0gZG9sb3Igc2l0IG1ldC4/delete HTTP/1.1
Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u
 
# Response
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: <CONTENT LENGTH>
 
{"isDeleted":true}

Application Example

# Browser access: use the following URL
http://127.0.0.1:9900/api/comparison/TG9yZW0gaXBzdW0gZG9sb3Igc2l0IG1ldC4/delete
 
# Shell access using curl
curl -Lsu <USERNAME>:<PASSWORD> 'http://127.0.0.1:9900/api/comparison/TG9yZW0gaXBzdW0gZG9sb3Igc2l0IG1ldC4/delete'
i-net PDFC
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help - /<GUID>/delete