orgs

Create Sso Settings

Changed on

Create SSO provider settings for the current organization.

post/api/v1/orgs/current/sso-settings

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v1/orgs/current/sso-settings
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Organization-Id
    • or HTTP bearer

Request body

default_workspace_role_idstring uuid required
default_workspace_idsstring[] required
metadata_xmlstring nullable
metadata_urlstring nullable
sso_groups_enabledboolean
sso_groups_claim_fieldstring
sso_groups_requiredboolean
sso_groups_role_sync_enabledboolean

Response

Successful Response

idstring uuid required
organization_idstring uuid required
provider_idstring uuid required
provider_type'saml' | 'oidc'
default_workspace_role_idstring uuid required
default_workspace_idsstring[] required
metadata_urlstring nullable
metadata_xmlstring nullable
oidc_issuer_urlstring nullable
oidc_client_idstring nullable
oidc_scopesstring[]
oidc_claim_mappingobject
sso_groups_enabledboolean
sso_groups_claim_fieldstring
sso_groups_requiredboolean
sso_groups_role_sync_enabledboolean
attribute_mapping_load_errorstring nullable

Changes

    • breaking

      the / response's property type changed from object to string for status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • breaking

      the request property type changed from object to no type

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added subschema #2 to the request property anyOf list

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status