Impersonate UserDeprecated

This endpoint generates an Access Token and Authorization given a system username.

SecurityApiKeyAuth or BasicAuth
Request
header Parameters
X-API-Key
required
string

Customer-specific API key required to invoke API.

Authorization
required
string

Provided by Authentication Token creation operation

AccessToken
required
string

JWT token provided by Authentication Token creation operation.

Content-Type
required
string
Value: "application/json"
Request Body schema: application/json
required

The Request Body must be a JSON-formatted string.

The following parameters are required to request an access token:

  • username

  • The credentials obtained after invoking this API will not be able to refresh tokens

username
string

Use in new token request

Responses
200

Successful operation

400

Bad request

401

Unauthorized

403

Forbidden

422

Pre Conditions Failed

post/auth/impersonate
Request samples
application/json
{
  • "username": "john.wick"
}
Response samples
application/json
{
  • "endpointUrl": "https://endpoint.url/v1",
  • "clientId": "abcdefghijklmnop1234567890",
  • "userPoolId": "us-east-1_123456789",
  • "username": "username",
  • "password": "",
  • "session": {
    }
}