orgs

Set Role Restriction

Changed on
put/api/v1/orgs/current/roles/{role_id}/restriction

Request

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

Path parameters

role_idstring uuid required

Request body

is_restrictedboolean 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