Delete Chunked Query Result

This call deletes a chunked TQL query result from memory.

URL

/topology/result/{resultTokenId}

Method

DELETE

Headers

Required:

Authorization: Bearer <token>

Note <token> is the token that is returned by the Authentication call.

Example:

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE0Njc5ODQ5MTcsImN1c3RvbWVyIjoxLCJ1c2VybmFtZSI6InN5c2FkbWluIn0.Ph8WHtzvpvfuH1j0CtwHqyBhX1uLlfhr0eQQ7m0_gT0

Request Type

JSON

Response Type

JSON

URL Parameters

Required:

{resultTokenId}: [resultTokenId]

Optional:

chunkSize=<chunkSize>

<chunkSize> - integer value that represents the chunk size of the result.

Payload

N/A

Success Response

Response: 200

Error Response

Code: 400

Content:

{
  error: [string]
}

 

Code: 400

Content:

{
  error: The following error has occurred: Please provide a valid chunk result id Please consult logs for more details
}

Notes

  • The user that the token belongs to must have the required permissions for executing the TQL queries by definition with the SDK.
  • The user that created the result ID token must be the same one that deletes it.