Settings

Manage organization-wide Stook configuration — such as IP restrictions, rate limits, and CORS settings.

Retrieve settings

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired

The UUID of the organization

Responses
200

Settings retrieved successfully

application/json
get
/api/v3/stook/{organization_uuid}/settings
200

Settings retrieved successfully

Update settings

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired

The UUID of the organization

settings_uuidstringRequired

The UUID of the settings record to update

Body
statusbooleanOptional

Enable or disable the domain configuration

is_ip_restrictionbooleanOptional

Enable or disable IP restriction

restriction_typestring · enumOptional

Type of IP restriction

Possible values:
is_rate_limitbooleanOptional

Enable or disable rate limiting

status_cors_headerstring · enumOptional

Status of CORS header

Possible values:
cors_domainsstring[]Optional

List of allowed CORS domains

options_requestbooleanOptional

Indicates if OPTIONS requests are allowed

status_head_request_disallowbooleanOptional

Indicates if HEAD requests should be disallowed

Responses
200

Settings successfully updated

application/json
put
/api/v3/stook/{organization_uuid}/settings
200

Settings successfully updated

Last updated

Was this helpful?