Administration/Users

Impersonate a user (admin only)

Changed on

Returns the target user merged with their impersonated company (primary company, or companyId when the user has none), matching the shape of a normal login response.

get/api/admin/users/{id}/impersonate

Request

  • Base URL
    https://api.retraced.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.retraced.com/api/admin/users/{id}/impersonate
  • Auth
    none declared

Path parameters

idstring required

Query parameters

companyIdstring

Response

Default Response

idstring required
firstNamestring nullable required
lastNamestring nullable required
emailstring nullable required
primaryCompanyIdstring nullable required
companyIdstring
preferencesobject required

Changes

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property // from the response with the status

    • breaking

      removed the required property from the response with the status