orgs

Create Organization Roles

Changed on
post/api/v1/orgs/current/roles

Request

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

Request body

display_namestring required
descriptionstring required
permissionsstring[] required

Response

Successful Response

idstring uuid required
namestring required
display_namestring required
descriptionstring required
organization_idstring uuid nullable
permissionsstring[] required
access_scope'organization' | 'workspace'
is_restrictedboolean

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