# Kill current running query of segment

Kill the current running query associated with the segment.

Endpoint: POST /audiences/{audienceId}/segments/queries/{queryId}/kill
Version: 1.0.0
Security: TdApikeyAuth

## Path parameters:

  - `audienceId` (integer, required)
    Audience ID of the segment

  - `queryId` (integer, required)
    ID of query

## Response 200 fields (application/json):

  - `message` (string)
    A message indicates canceling query didn't complete successfully

## Response 400 fields (application/json):

  - `code` (string, required)

  - `message` (string, required)

## Response 5XX fields (application/json):

  - `status` (integer, required)
    Error status

  - `error` (string, required)
    Error message

  - `details` (string)
    Detailed error message


