Deletes a queue.

Request parameters

ParameterTypeRequiredExampleDescription
ActionStringYesDeleteQueue

The operation that you want to perform.

Set the value to DeleteQueue.

InstanceIdStringYes1880770869023***

The ID of the instance.

QueueNameStringYesDemoQueue

The name of the queue.

RegionIdStringYescn-hangzhou

The ID of the region.

VirtualHostStringYesTest

The name of the vhost.

Response parameters

ParameterTypeExampleDescription
RequestIdString92385FD2-624A-48C9-8FB5-753F2AFA***

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteQueue
&InstanceId=1880770869023***
&QueueName=DemoQueue
&RegionId=cn-hangzhou
&VirtualHost=Test
&<Common request parameters>

Sample success responses

XML format

<DeleteQueueResponse>
      <RequestId>92385FD2-624A-48C9-8FB5-753F2AFA***</RequestId>
</DeleteQueueResponse>

JSON format

{
    "RequestId":"92385FD2-624A-48C9-8FB5-753F2AFA***"
}

Error codes

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