orgs
Revoke Org Personal Access Token
Changed onRevoke a personal access token, so it stops working but its record remains.
The token is marked revoked rather than deleted, and stops authenticating as soon as its cached auth entry refreshes. Its expiry is left untouched, so the revocation can be lifted by deleting it. Callers may always revoke their own tokens; organization admins may revoke any member's.
post/api/v1/orgs/current/personal-access-tokens/{pat_id}/revocation
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://api.smith.langchain.com/api/v1/orgs/current/personal-access-tokens/{pat_id}/revocation
- Auth
- API key in header X-API-Key
- or API key in header X-Organization-Id
- or HTTP bearer
Path parameters
pat_idstring uuid required
Response
Successful Response
Changes
- info
endpoint added
- info