sso

Test SSO group mapping resolution

Given a list of IdP group names, returns what teams/roles a user with those groups would be resolved to. This is useful for debugging and verifying mapping configuration.

post/admin/v1/organizations/{org_slug}/sso-group-mappings/test

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /admin/v1/organizations/{org_slug}/sso-group-mappings/test
  • Auth: HTTP bearer

Path parameters

org_slugstring required

Organization slug

Request body

default_rolestring

Default role to use for mappings without a role (defaults to 'member')

idp_groupsstring[] required

List of IdP group names to test

sso_connection_namestring

SSO connection name (defaults to 'default')

Response

Mapping test results

unmapped_groupsstring[] required

Groups that did not match any mapping

Changes

No recorded changes to this operation across all 1 revision of this API.