Skip to content

Update Sso

PUT
/api/governance/sso
curl --request PUT \
--url http://localhost:8000/api/governance/sso \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "allowed_domains": [ "example" ], "auto_provision": false, "client_id": "", "client_secret": "", "default_role": "viewer", "enabled": false, "enforce_sso": false, "issuer": "" }'
x-workspace-id
Any of:
string
Media typeapplication/json
OidcUpdate
object
allowed_domains
Allowed Domains
Array<string>
auto_provision
Auto Provision
boolean
client_id
Client Id
string
""
client_secret
Client Secret
string
""
default_role
Default Role
string
default: viewer
Allowed values: viewer member editor
enabled
Enabled
boolean
enforce_sso
Enforce Sso
boolean
issuer
Issuer
string
""

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}