orgs

Add Members To Current Org Batch

Changed on

Batch invite up to 500 users to the current org.

post/api/v1/orgs/current/members/batch

Request

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

Request body

emailstring required
read_onlyboolean
role_idstring uuid nullable
role_namestring nullable
workspace_idsstring[] nullable
workspace_role_idstring uuid nullable
workspace_role_namestring nullable
passwordstring nullable
full_namestring nullable

Response

Successful Response

emailstring required
read_onlyboolean
role_idstring uuid nullable
role_namestring nullable
workspace_idsstring[] nullable
workspace_role_idstring uuid nullable
workspace_role_namestring nullable
passwordstring nullable
full_namestring nullable
access_scope'organization' | 'workspace'
idstring uuid required
user_idstring uuid nullable
tenant_idstring uuid nullable
organization_idstring uuid nullable
created_atstring date-time required
org_role_idstring uuid nullable
org_role_namestring 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 new optional request property /

    • info

      added the new optional request property /

    • info

      added the optional property / to the response with the status