UpdateSSOConfiguration
POST/gitpod.v1.OrganizationService/UpdateSSOConfiguration
Updates SSO provider settings and authentication rules.
Use this method to:
- Rotate client credentials
- Update provider endpoints
- Modify claim mappings
- Change authentication policies
- Toggle SSO enforcement
Examples
-
Update credentials:
Rotates client ID and secret.
ssoConfigurationId: "d2c94c27-3b76-4a42-b88c-95a85e392c68" clientId: "new-client-id" clientSecret: "new-client-secret" -
Update provider status:
Activates or deactivates SSO provider.
ssoConfigurationId: "d2c94c27-3b76-4a42-b88c-95a85e392c68" state: SSO_CONFIGURATION_STATE_ACTIVE
Body ParametersJSON
ssoConfigurationId: string
sso_configuration_id is the ID of the SSO configuration to update
formatuuid
claims: optional map[string]
claims are key/value pairs that defines a mapping of claims issued by the IdP.
UpdateSSOConfiguration
curl https://app.gitpod.io/api/gitpod.v1.OrganizationService/UpdateSSOConfiguration \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $GITPOD_API_KEY" \
-d '{
"ssoConfigurationId": "d2c94c27-3b76-4a42-b88c-95a85e392c68"
}'{}Returns Examples
{}