orgs
Update Org Service Key
Changed onUpdate an API key's role(s) in place without rotating the key.
Organization Operators cannot assign the Organization Admin role or change a key that already holds it, and no key can change its own roles. Workspace-scoped keys also require key-management permission in every workspace they cover. Applies to both org-scoped and workspace-scoped keys.
patch/api/v1/orgs/current/service-keys/{api_key_id}
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://api.smith.langchain.com/api/v1/orgs/current/service-keys/{api_key_id}
- Auth
- API key in header X-API-Key
- or API key in header X-Organization-Id
- or HTTP bearer
Path parameters
api_key_idstring uuid required
Request body
Response
Successful Response
Changes
- info
endpoint added
- info