Skip to main content
PUT
Replaces the app’s whole redirect URI allowlist for the hosted OIDC flow. To read the list, use Get Redirect URIs. This is a configuration write. On a production app it updates Live immediately and is kept in Version History. On a sandbox app it overwrites the configuration.

Headers

string
required
Bearer sk_workspace_..., a Workspace API key of the organization that owns the app. See Workspace API.
string
default:"application/json"
required
Must be application/json.

Path Parameters

string
required
The app ID returned by Create App or List Apps.

Request Body

string[]
required
The complete allowlist. It replaces every URI saved before. Each entry must be a string. Custom URI schemes such as myapp://callback are accepted, and the URL format is not checked. Send [] to remove every redirect URI.

Response

204 No Content, with no response body.

Errors

Besides the authentication and subscription errors that every route can return (see Workspace API), this endpoint returns: