Disables an accelerated domain name. After an accelerated domain name is disabled, the value of the DomainStatus parameter for the domain name changes to Offline.
Operation description
-
If you disable an accelerated domain, the configurations of the accelerated domain are still retained. The system automatically forwards all the requests that are destined for this domain to the origin.
-
You can call this operation up to 20 times per second per account.
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:
- For mandatory resource types, indicate with a prefix of * .
- 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 |
---|---|---|---|---|
dcdn:StopDcdnIpaDomain | update | *IpaDomain acs:dcdn:*:{#accountId}:domain/{#domainName} |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DomainName | string | Yes | The name of the accelerated domain that you want to disable. You can specify only one domain name at a time. | example.com |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A74"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | DcdnIpaServiceNotFound | The DCDN IPA service has not been activated. | IPA is not activated for DCDN. |
For a list of error codes, visit the Service error codes.