Administration/Users

Impersonate a user (admin only)

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

Path parameters

idstring required

Query parameters

companyIdstring

Response

Default Response

idstring required
firstNamestring required
lastNamestring required
emailstring required
primaryCompanyIdstring required
primaryRolestring required
rolestring required
companyIdstring
preferencesobject required

Changes

Changed in 1 of the 21 revisions of this API.69

    • the response property company/addressLine1 became optional for the status 200

      response-property-became-optional

    • the response property company/addressLine2 became optional for the status 200

      response-property-became-optional

    • the response property company/annualProductionCapacity became optional for the status 200

      response-property-became-optional

    • the response property company/annualProductionCapacityUnit became optional for the status 200

      response-property-became-optional

    • the response property company/city became optional for the status 200

      response-property-became-optional

    • the response property company/commercialRegisterNumber became optional for the status 200

      response-property-became-optional

    • the response property company/companySize became optional for the status 200

      response-property-became-optional

    • the response property company/companyType became optional for the status 200

      response-property-became-optional

    • the response property company/countryName became optional for the status 200

      response-property-became-optional

    • the response property company/county became optional for the status 200

      response-property-became-optional

    • the response property company/description became optional for the status 200

      response-property-became-optional

    • the response property company/dunsNumber became optional for the status 200

      response-property-became-optional

    • the response property company/facilityProcesses became optional for the status 200

      response-property-became-optional

    • the response property company/featuredImageFileId became optional for the status 200

      response-property-became-optional

    • the response property company/featuredImageFileUrl became optional for the status 200

      response-property-became-optional

    • the response property company/geojson became optional for the status 200

      response-property-became-optional

    • the response property company/globalLocationNumber became optional for the status 200

      response-property-became-optional

    • the response property company/higgId became optional for the status 200

      response-property-became-optional

    • the response property company/imageList became optional for the status 200

      response-property-became-optional

    • the response property company/isClientCompany became optional for the status 200

      response-property-became-optional

    • the response property company/isDemoCompany became optional for the status 200

      response-property-became-optional

    • the response property company/minimumOrderQuantity became optional for the status 200

      response-property-became-optional

    • the response property company/minimumOrderQuantityPerStyle became optional for the status 200

      response-property-became-optional

    • the response property company/numOfFemaleEmployees became optional for the status 200

      response-property-became-optional

    • the response property company/numOfMaleEmployees became optional for the status 200

      response-property-became-optional

    • the response property company/numOfPermanentEmployees became optional for the status 200

      response-property-became-optional

    • the response property company/originalFeaturedImageFileUrl became optional for the status 200

      response-property-became-optional

    • the response property company/originalVideoFileUrl became optional for the status 200

      response-property-became-optional

    • the response property company/osHubId became optional for the status 200

      response-property-became-optional

    • the response property company/phone became optional for the status 200

      response-property-became-optional

    • the response property company/shopId became optional for the status 200

      response-property-became-optional

    • the response property company/standardLeadTime became optional for the status 200

      response-property-became-optional

    • the response property company/transliteratedName became optional for the status 200

      response-property-became-optional

    • the response property company/transliteratedOfficialName became optional for the status 200

      response-property-became-optional

    • the response property company/vatId became optional for the status 200

      response-property-became-optional

    • the response property company/videoFileId became optional for the status 200

      response-property-became-optional

    • the response property company/videoFileUrl became optional for the status 200

      response-property-became-optional

    • the response property company/website became optional for the status 200

      response-property-became-optional

    • the response property company/workosOrganizationId became optional for the status 200

      response-property-became-optional

    • the response property company/zipCode became optional for the status 200

      response-property-became-optional

    • response property company/addressLine1 list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/addressLine2 list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/annualProductionCapacityUnit list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/city list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/commercialRegisterNumber list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/companySize list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/companyType list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/countryName list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/county list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/description list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/dunsNumber list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/featuredImageFileId list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/globalLocationNumber list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/higgId list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/imageList list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/isClientCompany list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/isDemoCompany list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/originalFeaturedImageFileUrl list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/originalVideoFileUrl list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/osHubId list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/phone list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/shopId list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/transliteratedName list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/transliteratedOfficialName list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/vatId list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/videoFileId list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/website list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/workosOrganizationId list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property company/zipCode list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

Of the 21 revisions, 1 has no diff computed.