GET delete criteria

Deletes a criteria or a subcriteria. If the resource to be deleted is a criteria and if this has subcriteria it will also delete all subsequent subcriteria that have the same criteria label. If the resource is a subcriteria it will only delete the subcriteria identified by the {identifier} parameter.

Resource URL:

https://api.priotice.se/rest/{auth}/criteria/delete/{identifier}

Data returned

If the request has been successful it will return a success message and the CrieriaID of the criteria that was deleted.

Example request

GET https://api.priotice.se/rest/d41d8cd98f00b204e9800998ecf8427e/criteria/delete/128

Example response:

{ "Status": "success", "Data": { "CriteriaID": 128 } }