Skip to content

Authentication

Authentication functions

Rotate the client secret

Request

Rotate and return the client secret

Security
bearer-jwt
Headers
API-Versionstring
Value:"1.0.0"
curl -i -X POST \
  https://api-docs.raipartners.com/_mock/apis/client-management-api-v1/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" }