Get Site Settings

Get Site Settings

Retrieve settings for a site and links for navigating to more specific site settings (e.g., CORS)).

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/site/settings
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns SiteSettings of type(s) application/json;version=39.1
{
    "apiTokenDuration": 0
}
integer As int32 As int32
apiTokenDuration
Optional

Duration for an API token in days. A value of zero means infinite duration. Updates to this value do not affect existing tokens.


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/site/settings
                
Availability
Added in 36.0
Site Settings Operations
GET
Get Site Settings
PUT
Set Site Settings