Deletes a queue in a cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteQueue

The operation that you want to perform. Set the value to DeleteQueue.

ClusterId String Yes ehpc-hz-FYUr32****

The ID of the cluster.

QueueName String Yes high

The name of the queue that you want to delete.

Response parameters

Parameter Type Example Description
RequestId String 464E9919-D04F-4D1D-B375-159894922C8F

The ID of the request.

Examples

Sample requests

https://ehpc.cn-hangzhou.aliyuncs.com/?Action=DeleteQueue
&ClusterId=ehpc-hz-FYUr32****
&QueueName=high
&<Common request parameters>

Sample success responses

XML format

<DeleteQueueResponse>
      <RequestId>464E9919-D04F-4D1D-B375-159894922C8F</RequestId>
</DeleteQueueResponse>

JSON format

{
    "RequestId": "464E9919-D04F-4D1D-B375-159894922C8F"
}

Error codes

HttpCode Error code Error message Description
503 ServiceUnavailable The request has failed due to a temporary failure of the server The error message returned because the request has failed. The server is temporarily unavailable.

For a list of error codes, visit the API Error Center.