Skip to content

Authentication

Authentication functions

Rotates and returns the client secret

Request

Rotates and returns the client secret

Security
bearer-jwt
Headers
API-Versionstringrequired

API version — must be 1.0.0 or higher

Example:1.0.0
curl -i -X POST \
  https://api-docs.raipartners.com/_mock/apis/b2b/auth/client-secret/rotation \
  -H 'API-Version: 1.0.0' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

The rotated secret.

Bodyapplication/json
secretstringrequired

The new client secret.

Example:"PX4eWb9rcRT1RBqvLw4GtuqyoUFWoGLr"
Response
{ "secret": "PX4eWb9rcRT1RBqvLw4GtuqyoUFWoGLr" }