Settings
Manage organization-wide Stook configuration — such as IP restrictions, rate limits, and CORS settings.
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}/settings200
Settings retrieved successfully
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 · enumOptionalPossible values:
Type of IP restriction
is_rate_limitbooleanOptional
Enable or disable rate limiting
status_cors_headerstring · enumOptionalPossible values:
Status of CORS header
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}/settings200
Settings successfully updated
Last updated
Was this helpful?