Skip to main content
PUT /v1/organizations/{organizationId}/oauth/clients/{clientId}/secret Mints the app’s first secret; once it has one, rotate it instead. Retain the same UUID Idempotency-Key when retrying: only the delivering request returns plaintext.
TypeScript

Parameters

string
required
string
required
string (uuid)
required

Returns

200 Replay: the secret exists, its plaintext is gone. SetupOrganizationOauthClientSecretResponse
null
required
201 Secret created; plaintext is returned once. SetupOrganizationOauthClientSecretCreatedResponse
string
required