OAuth applications

Issue a replacement credential

Changed on

Issues a second credential so the website can roll over without downtime. Revoke the old one once it is out of use.

post/oauth-applications/{clientId}/credentials

Request

  • Base URL: https://api.session.services
  • URL: https://api.session.services/oauth-applications/{clientId}/credentials
  • Auth: API key in header x-tenant-id

Path parameters

clientIdstring required

Immutable OAuth client identifier.

Request body

teamIdstring required

Unique team identifier

revisioninteger required

Optimistic concurrency token. Send the value you read.

Response

OK

clientSecretstring required

New credential. Display once and store only on the website server.

Changes