Skip to main content
PUT
Update Config

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required

The organization's id (UUID) or slug — either form is accepted.

projectId
string
required

The project's id (UUID) or slug — either form is accepted.

Body

application/json
enabled
boolean
required
allowedOrigins
string[]
required

Exact browser origins. Wildcards are not accepted.

redirectUrls
string[]
required

Exact post-sign-in redirect URLs. HTTPS is required except for loopback localhost URLs.

accessTokenTtlSeconds
integer

300-3600 seconds.

refreshTokenTtlSeconds
integer

3600-2592000 seconds.

sessionIdleTtlSeconds
integer

900-604800 seconds.

sessionMaxTtlSeconds
integer

3600-2592000 seconds.

Response

Updated app-auth configuration.

enabled
boolean
required
allowedOrigins
string[]
required

Exact browser origins. Wildcards are not accepted.

redirectUrls
string[]
required

Exact post-sign-in redirect URLs. HTTPS is required except for loopback localhost URLs.

accessTokenTtlSeconds
integer
required
refreshTokenTtlSeconds
integer
required
sessionIdleTtlSeconds
integer
required
sessionMaxTtlSeconds
integer
required
google
object
required
callbackUrl
string
required

Exact Google OAuth callback URL to register for this project.

createdAt
string<date-time>
required
updatedAt
string<date-time>
required