Skip to main content
Never repeated. The API accepts no idempotency key here, so a second send is a second write. Only 429 rate_limit.exceeded is retried.

Example

Parameters

string[]
required
The complete allow-list. Replaces the previous list; send an empty array to remove all origins.

Returns

200 - CorsOriginsResponse.
string[]
required
Origins allowed to call the API from a browser, in canonical form.

Errors

Branch on error.code, never on the HTTP status - several codes share one. See Errors and retries for the error types and how to narrow them.