Deletes a queue.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteQueue

The operation that you want to perform.

Set the value to DeleteQueue.

InstanceId String Yes 1880770869023***

The ID of the instance.

QueueName String Yes DemoQueue

The name of the queue.

RegionId String Yes cn-hangzhou

The ID of the region.

VirtualHost String Yes Test

The name of the vhost.

Response parameters

Parameter Type Example Description
RequestId String 92385FD2-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.