REST API - Delete Candidate Query - Position

This operation deletes a candidate query for a position, and optionally removes resources from the position for which the candidate query is being deleted.

Request

Format
DELETE <baseurl>/candidatequery/position/<position-guid>
Path parameters position-guid: The unique identifier of the position from which the candidate query is to be removed.
Query parameters

remove-resources=boolean (optional): If true, the resources assigned to the position from which the candidate query is being deleted are also removed from the position. Default = false

Response

JSON If successful, returns 200 OK in the response header, and an empty response body.
XML If successful, returns 200 OK in the response header, and an empty response body.

Example

Request
DELETE <baseurl>/candidatequery/position/_uNjFkFHIEeO_orno_K2qCw?remove-resources=true