You can call this operation to delete a resource queue.

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 DeleteResourceQueue

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

ClusterId String Yes C-EBD62A703A430E23

The ID of the cluster.

RegionId String Yes cn-hangzhou

The ID of the region where your cluster resides.

ResourceQueueId String Yes 248

The ID of the resource queue.

AccessKeyId String No LTAI8ljWyu7y****

The AccessKey ID provided to you by Alibaba Cloud, which specifies the ID of the user.

Response parameters

Parameter Type Example Description
RequestId String A544317F-4A60-4532-AC96-191B9D80420A

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DeleteResourceQueue
&ClusterId=C-EBD62A703A430E23
&RegionId=cn-hangzhou
&ResourceQueueId=248
&<Common request parameters>

Sample success responses

XML format

<DeleteResourceQueueResponse>
	  <code>200</code>
	  <requestId>A544317F-4A60-4532-AC96-191B9D80420A</requestId>
	  <successResponse>true</successResponse>
</DeleteResourceQueueResponse>

JSON format

{
	"successResponse":true,
	"requestId":"A544317F-4A60-4532-AC96-191B9D80420A",
	"code":"200"
}

Error codes

HTTP status code Error code Error message Description 
403 Params.Illegal The specified parameters are wrongly formed.. The error message returned because the format of the specified parameters is invalid.
403 User.OtherUserResource.NotAllow It is not allowed to operate other user's resource The error message returned because you are not allowed to manage resources of other users.
403 User.Account.Abnormal The User Account maybe is out of service! The error message returned because the Alibaba Cloud account is invalid.
500 repo.Fail access repo fail! The error message returned because an error occurred when you accessed the repository.
400 AuthRealNameNotPass User real name authenticate failed! The error message returned because the Alibaba Cloud account has not passed real-name verification. Pass the verification and try again.
404 NoteId.NotFound note id not found The error message returned because the notebook ID does not exist.
500 InternalError The request processing has failed due to some unknown error. The error message returned because an internal error has occurred. Submit a ticket.

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