orgs

Reinstate Org Personal Access Token

Changed on

Lift a revocation, so the personal access token authenticates again.

The token returns to the expiry it was created with, and one whose expiry has since passed stays expired. If the token was used while revoked, it starts working again once the rejection leaves the authentication cache. Lifting a revocation that is not there changes nothing. Callers may always administer their own tokens; organization admins may administer any member's.

delete/api/v1/orgs/current/personal-access-tokens/{pat_id}/revocation

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://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