Settings

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

Retrieve Stook settings (v3)

get

Retrieves regional settings for the organization, including IP restrictions, rate limits, and CORS configurations for Istanbul and Ankara locations.

Path parameters
organization_uuidstringRequired

Unique identifier for the organization.

Responses
chevron-right
200

Successful response

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

Successful response

Update Stook settings (v3)

put

Updates global configurations such as IP restrictions, rate limits, and CORS policies for the specified organization.

Path parameters
organization_uuidstringRequired

Unique identifier for the organization.

Body
statusbooleanOptional

Enables or disables the overall domain configuration.

is_ip_restrictionbooleanOptional

Indicates whether IP restriction policies are enforced.

restriction_typestring · enumOptional

Specifies the filtering logic for the IP list.

Possible values:
is_rate_limitbooleanOptional

Enables or disables rate limiting to prevent request bursts.

status_cors_headerstring · enumOptional

Sets the operational mode for CORS headers.

Possible values:
cors_domainsstring[]Optional

List of domains authorized for Cross-Origin requests.

Responses
chevron-right
200

Successful response

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

Successful response

Last updated

Was this helpful?