Deletes a custom query template.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
resourcecenter:DeleteSavedQuery |
delete |
*SavedQuery
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| QueryId |
string |
Yes |
The template ID. You can call ListSavedQueries to obtain the template ID. |
sq-GeAck**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
D170D58E-6256-5344-8F5E-922EC9ECB7EA |
Examples
Success response
JSON format
{
"RequestId": "D170D58E-6256-5344-8F5E-922EC9ECB7EA"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | You are not authorized to perform this operation. | |
| 409 | NotExists.QueryId | The QueryId does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.