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

Request

  • Base URL
    https://api.kobaltlabs.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.kobaltlabs.com/internal/hard-masquerade
  • Auth
    none declared

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 operation across all 8 revisions of this API.