curl -X PUT https://api.portkey.ai/v1/admin/organisation/auth-settings/scim \
-H "x-portkey-api-key: PORTKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"scim_enabled": true
}'{
"object": "organisation_scim_settings",
"scim_enabled": true,
"scim_settings": {
"workspace_prefix": "<string>",
"role_separator": "<string>",
"group_based_user_provisioning": true,
"skip_scim_get_audit_logs": true
},
"use_only_scim": 123,
"use_only_scim_org": 123,
"scim_token": "<string>"
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}Update SCIM Settings
Enable or disable SCIM, configure how SCIM groups map onto workspaces, and restrict sign-in to SCIM-provisioned users. At least one field is required.
Enabling SCIM generates a token that is returned once in this response. Disabling SCIM revokes the token and clears the SCIM-only restrictions.
Available on plans that include SCIM.
Requires an organisation API key with the organisation_auth.update scope.
PUT
/
admin
/
organisation
/
auth-settings
/
scim
curl -X PUT https://api.portkey.ai/v1/admin/organisation/auth-settings/scim \
-H "x-portkey-api-key: PORTKEY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"scim_enabled": true
}'{
"object": "organisation_scim_settings",
"scim_enabled": true,
"scim_settings": {
"workspace_prefix": "<string>",
"role_separator": "<string>",
"group_based_user_provisioning": true,
"skip_scim_get_audit_logs": true
},
"use_only_scim": 123,
"use_only_scim_org": 123,
"scim_token": "<string>"
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}{
"success": false,
"data": {
"errorCode": "<string>",
"message": "<string>"
}
}Portkey is now PRISMA AIRS AI Gateway. See it in action.
Contact Us
Body
application/json
Response
OK
Last modified on December 4, 2026
Was this page helpful?

