All Products
Search
Document Center

Application Real-Time Monitoring Service:DeleteTimingSyntheticTask

Last Updated:Nov 05, 2024

Deletes a scheduled synthetic monitoring task.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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.
OperationAccess levelResource typeCondition keyAssociated operation
arms:DeleteTimingSyntheticTaskdelete
  • SyntheticTask
    acs:arms:{#regionId}:{#accountId}:synthetictask/{#TaskId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The region ID.

cn-hangzhou
TaskIdstringNo

The ID of the synthetic monitoring task.

5308a2691f59422c8c3b7aeccec9cd3b
ResourceGroupIdstringNo

The resource group ID.

rg-aek2eq4peca****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

A5EC8221-08F2-4C95-9AF1-49FD998C****
Codelong

The HTTP status code. The status code 200 indicates that the request was successful. Other status codes indicate that the request failed.

200
Messagestring

The returned message.

success
Databoolean

Indicates whether the synthetic monitoring task was deleted. true: The synthetic monitoring task was deleted. false: The synthetic monitoring task failed to be deleted.

true

Examples

Sample success responses

JSONformat

{
  "RequestId": "A5EC8221-08F2-4C95-9AF1-49FD998C****",
  "Code": 200,
  "Message": "success",
  "Data": true
}

Error codes

HTTP status codeError codeError messageDescription
400TaskQuotaLimittask count limited-
400DuplicateTagKeyParam tagKey is duplicate.-
400TagNumOUTthe number of tag is out .-
400NoPermissionUSERuser no permission-
400ParameterMissingYou must specify the parameter.You must specify the parameter.
400ParameterIllegalThe specified parameter is invalid.The specified parameter is invalid.
400ParameterRegionIllegalThe specified region is invalid.The specified region is invalid.
403SyntheticTrailExpiredsynthetic trail has expired-
403SyntheticInDebtsynthetic is in debt-
403SyntheticDailyTimesExhaustedsynthetic dailly times has exhausted-
403SyntheticDailyLimitsynthetic dailly limited-
403RAMNotAuthorizeSubUser 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.
403RAMNotAuthorizeThe 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.
403STSNotAuthorizeSTS authorization failed.STS authorization failed.
403IllegalUserAccessIllegal user access.Illegal user access.
403APINotAuthorizeThe current user is not authorized to access the interface.The current user is not authorized to access the interface.
403CommercialStatusExceptionAbnormal 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 timeSummary of changesOperation
2023-08-24The Error code has changedView Change Details
2023-08-24The Error code has changed. The request parameters of the API has changedView Change Details