Skip to main content
POST
/
oauth
/
client
/
{clientId}
/
secret
cURL
curl --request POST \
  --url http://127.0.0.1:3000/api/oauth/client/{clientId}/secret \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "secret": "<string>",
  "maskedSecret": "<string>",
  "lastUsedTime": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

clientId
string
required

Response

201 - application/json

Returns the generated OAuth secret

id
string
required
secret
string
required
maskedSecret
string
required
lastUsedTime
string
Last modified on December 10, 2025