Herald
OpenapiAuth

Switch_client

POST
/api/auth/browser-token/switch-client

Authorization

bearer_auth
headerAuthorizationBearer <token>

Request Body

application/json
  1. body
targetClientId*string

Response Body

application/json
  1. response
accessToken*string
clientId*string
expiresIn*integer
Formatint64
Range0 <= value
refreshExpiresIn*integer
Formatint64
Range0 <= value
refreshToken*string
tokenType*string
Example Request
curl -X POST 'https://example.com/api/auth/browser-token/switch-client' \
  -H 'Content-Type: application/json' \
  -d '{
  "targetClientId": "string"
}'
Example Response
{
  "accessToken": "string",
  "clientId": "string",
  "expiresIn": 0,
  "refreshExpiresIn": 0,
  "refreshToken": "string",
  "tokenType": "string"
}