Use the DELETE /api/v3/query/{queryId} endpoint of the Data 360 Query API to cancel a running query and release its associated server resources. This operation is idempotent — repeated calls for the same query ID always return 204 No Content with no additional effect. Use this endpoint to free resources when a query is no longer needed or has exceeded an acceptable runtime.
Syntax
- HTTP Method: DELETE
- Format: REST
- URI:
/api/v3/query/{queryId}
Path Parameters
| Parameter | Type | Description |
|---|---|---|
queryId |
string | Required. The unique identifier of the query returned from POST /api/v3/query. Example: MTAuMjcuMTgxLjE0OTo3NDg0_1cfc8d35. |
Request Headers
| Header | Value |
|---|---|
Authorization |
Bearer {accessToken} or C2C token |
Response Structure
Always returns 204 No Content.
Examples
Request
DELETE https://{dne_cdpInstanceUrl}/api/v3/query/MTAuMjcuMTgxLjE0OTo3NDg0_1cfc8d35-464c-9185-1f41-3eb638a71f7a
Authorization: Bearer {accessToken}
Response
204 No Content