Skip to main content
Update CORS configuration

Authorizations

Authorization
string
header
required

Builder authentication and authorization

x-sutro-api-client
string
header
required

A unique identifier for the API Client making a request

Path Parameters

applicationId
string<uuid>
required

Body

application/json

CORS (Cross-Origin Resource Sharing) configuration for the application's backend API

allowedOrigins
string[]
required

List of allowed origins that can make cross-origin requests to the backend API

Example:

Response

The updated CORS configuration

CORS (Cross-Origin Resource Sharing) configuration for the application's backend API

allowedOrigins
string[]
required

List of allowed origins that can make cross-origin requests to the backend API

Example: