UpdateSCIMConfiguration
POST/gitpod.v1.OrganizationService/UpdateSCIMConfiguration
Updates a SCIM configuration.
Use this method to:
- Enable or disable SCIM provisioning
- Link or unlink SSO configuration
- Update configuration name
Examples
-
Disable SCIM:
Disables SCIM provisioning.
scimConfigurationId: "d2c94c27-3b76-4a42-b88c-95a85e392c68" enabled: false -
Link to SSO:
Links SCIM configuration to an SSO provider.
scimConfigurationId: "d2c94c27-3b76-4a42-b88c-95a85e392c68" ssoConfigurationId: "f53d2330-3795-4c5d-a1f3-453121af9c60"
UpdateSCIMConfiguration
curl https://app.gitpod.io/api/gitpod.v1.OrganizationService/UpdateSCIMConfiguration \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $GITPOD_API_KEY" \
-d '{
"scimConfigurationId": "d2c94c27-3b76-4a42-b88c-95a85e392c68"
}'{
"scimConfiguration": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"createdAt": "2019-12-27T18:11:19.117Z",
"organizationId": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"tokenExpiresAt": "2019-12-27T18:11:19.117Z",
"updatedAt": "2019-12-27T18:11:19.117Z",
"enabled": true,
"name": "name",
"ssoConfigurationId": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
}
}Returns Examples
{
"scimConfiguration": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"createdAt": "2019-12-27T18:11:19.117Z",
"organizationId": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"tokenExpiresAt": "2019-12-27T18:11:19.117Z",
"updatedAt": "2019-12-27T18:11:19.117Z",
"enabled": true,
"name": "name",
"ssoConfigurationId": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
}
}