Version 2.1.1792967583 · latest Download OpenAPI Markdown

CC settings

Platform-level default CC rule group and automatic switching settings; admin only.

cc-settingsProtectionAuthentication: Admin only2 endpoints

Get CC settings

GET/api/v2/cc-settings
Authentication: Admin only

Update CC settings

PUT/api/v2/cc-settings
Authentication: Admin only

Request body application/json

FieldTypeRequiredDescription
auto_switchCcAutoSwitchRequired Settings for automatically switching to a stricter CC rule group.
default_page_rule_idinteger— Platform CC rule group id used by the default page (requests to unbound domains); null or omitted = no protection.
default_rule_idintegerRequired Platform CC rule group id used when a site has not chosen one; null = node default.
expected_updated_atstring— Optimistic lock - the updated_at as the caller read it (the version of the node.global config key, shared by CC and WAF settings; use 1970-01-01T00:00:00Z when the read value is null). If it differs from the stored one, 409 stale_version is returned and nothing is saved; omit to skip the check.
updated_atstring— Version in the response (updated_at of the node.global config key; null if never changed); ignored on update - use expected_updated_at for the optimistic lock.

CC settings object

FieldTypeRequiredDescription
auto_switchCcAutoSwitch— Settings for automatically switching to a stricter CC rule group.
default_page_rule_idinteger— Platform CC rule group id used by the default page (requests to unbound domains); null or omitted = no protection.
default_rule_idinteger— Platform CC rule group id used when a site has not chosen one; null = node default.
expected_updated_atstring— Optimistic lock - the updated_at as the caller read it (the version of the node.global config key, shared by CC and WAF settings; use 1970-01-01T00:00:00Z when the read value is null). If it differs from the stored one, 409 stale_version is returned and nothing is saved; omit to skip the check.
updated_atstring— Version in the response (updated_at of the node.global config key; null if never changed); ignored on update - use expected_updated_at for the optimistic lock.
read-only