Queries the site hold configuration of a website. After you enable site hold, other accounts cannot add your website domain or its subdomains to ESA.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:GetSiteNameExclusive |
get |
*Site
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The website ID, which can be obtained by calling the ListSites operation. |
123456**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
35C66C7B-671H-4297-9187-2C4477247A78 |
| Enable |
string |
Indicates whether site hold is enabled. Valid values:
Valid values:
|
on |
Examples
Success response
JSON format
{
"RequestId": "35C66C7B-671H-4297-9187-2C4477247A78",
"Enable": "on"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.