Deleting a Query

Deletes a query statement from memory in the instance of the open session.

Note You can delete all query statements created in this instance by closing the session.
Request

DELETE <slURL>/queries/{queryId}

Where:

  • {queryId} is the query statement identifier retrieved from the list of queries
Response

Response type: application/xml

The response is a message stating the success or failure of the request.

Example

DELETE <slURL>/queries/6089913651317040730

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<success>
    <message>The resource of type 'query' with identifier '6089913651317040730' has been successfully removed.</message>
    <id>6089913651317040730</id>
</success>