internal

Hard Masquerade As Company

Activate or deactivate hard masquerade for the current admin user.

Hard masquerade swaps the user's company_id to the target so writes apply to that company. Activating first clears any active masquerade (soft, or a different hard target), so exactly one masquerade mode is ever active and admins can jump straight between modes/targets.

post/internal/hard-masquerade

Query parameters

company_idstring uuid nullable

Response

Successful Response

statusstring required
messagestring required
mode'soft' | 'hard'
target_company_idstring uuid nullable
target_company_namestring nullable

Changes

No recorded changes to this endpoint across all 2 revisions of this API.