oauth

Rotate an OAuth client secret

Changed on

Generates a new client secret for a confidential client, invalidating the previous one. The new secret is shown only once.

post/api/v1/platform/oauth/clients/{id}/rotate-secret

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v1/platform/oauth/clients/{id}/rotate-secret
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Path parameters

idstring required

Client UUID

Response

OK

client_secretstring

Changes