Deletes a scheduled synthetic monitoring task.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
arms:DeleteTimingSyntheticTask | delete |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | No | The region ID. | cn-hangzhou |
TaskId | string | No | The ID of the synthetic monitoring task. | 5308a2691f59422c8c3b7aeccec9cd3b |
ResourceGroupId | string | No | The resource group ID. | rg-aek2eq4peca**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "A5EC8221-08F2-4C95-9AF1-49FD998C****",
"Code": 200,
"Message": "success",
"Data": true
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | TaskQuotaLimit | task count limited | - |
400 | DuplicateTagKey | Param tagKey is duplicate. | - |
400 | TagNumOUT | the number of tag is out . | - |
400 | NoPermissionUSER | user no permission | - |
400 | ParameterMissing | You must specify the parameter. | You must specify the parameter. |
400 | ParameterIllegal | The specified parameter is invalid. | The specified parameter is invalid. |
400 | ParameterRegionIllegal | The specified region is invalid. | The specified region is invalid. |
403 | SyntheticTrailExpired | synthetic trail has expired | - |
403 | SyntheticInDebt | synthetic is in debt | - |
403 | SyntheticDailyTimesExhausted | synthetic dailly times has exhausted | - |
403 | SyntheticDailyLimit | synthetic dailly limited | - |
403 | RAMNotAuthorize | SubUser permission verification failed, the caller is not authorized to perform %s on resource %s. | Authentication failed because the RAM user is not authorized to perform the %s operation on the %s resource. |
403 | RAMNotAuthorize | The sub-account is not authorized and must be granted AliyunARMSFullAccess by a primary account. | The RAM user does not have access permissions. You must use the Alibaba Cloud account to grant the AliyunARMSFullAccess permission to the RAM user. |
403 | STSNotAuthorize | STS authorization failed. | STS authorization failed. |
403 | IllegalUserAccess | Illegal user access. | Illegal user access. |
403 | APINotAuthorize | The current user is not authorized to access the interface. | The current user is not authorized to access the interface. |
403 | CommercialStatusException | Abnormal commercialization status. Please contact your administrator. | Abnormal commercialization status. Please contact your administrator. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-08-24 | The Error code has changed | View Change Details |
2023-08-24 | The Error code has changed. The request parameters of the API has changed | View Change Details |