All Products
Search
Document Center

Resource Management:DeleteSavedQuery

Last Updated:Jun 28, 2024

Deletes a custom query template.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
QueryIdstringYes

The ID of the template.

You can call the ListSavedQueries operation to obtain the template ID.

sq-GeAck****

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

RequestIdstring

The request ID.

D170D58E-6256-5344-8F5E-922EC9ECB7EA

Examples

Sample success responses

JSONformat

{
  "RequestId": "D170D58E-6256-5344-8F5E-922EC9ECB7EA"
}

Error codes

HTTP status codeError codeError messageDescription
400NoPermissionYou are not authorized to perform this operation.You are not authorized to perform the operation.
409NotExists.QueryIdThe QueryId does not exist.The specified query template ID does not exist.

For a list of error codes, visit the Service error codes.