workspaces

Add Member To Current Workspace

Changed on

Add an existing organization member to the current workspace.

post/api/v1/workspaces/current/members

Request

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

Request body

user_idstring uuid nullable
org_identity_idstring uuid nullable
ls_user_idstring uuid nullable
read_onlyboolean nullable
role_idstring uuid nullable

Response

Successful Response

idstring uuid required
organization_idstring uuid required
tenant_idstring uuid nullable
created_atstring date-time required
user_idstring uuid required
ls_user_idstring uuid required
read_onlyboolean required
role_idstring uuid nullable
role_namestring nullable
access_scope'organization' | 'workspace'

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