Select Current Unit

Sets the current unit of the impersonated user. The user must have access permission to the selected unit.

This endpoint requires the Agent Impersonator role.

URL

POST: https://[base-url]/{applicationId}/agents/{userId}/units/_current

Headers

Authorization: Bearer <accessToken>

Request Body

  • unitId: The unit to set as the current unit.

Response

Success -> 200

The user does not have permission to access the unit --> 403

Last updated