Users

Generate an impersonation refresh token for a user by authId and appId

Changed on

Required scope - root

post/api/v1/users/{authId}/impersonation/{appId}

Request

  • The document declares no server URL.
  • Auth
    OAuth 2
    Client credentials
    Token URL: /oauth2/v1/token

Path parameters

authIdstring required

The authId of the user

appIdnumber required

The id of the app

Request body

impersonatorTokenstring

The access token of the user impersonating, this user must be a super_admin

Response

A refresh token for impersonation

refresh_tokenstring

The refresh token for impersonation

refresh_token_expires_onnumber

The expiration time of the refresh token

refresh_token_expires_innumber

The remaining time of the refresh token in seconds

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added