Update a domain test user
Authorizations
API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.
Body
Partial update. Only provided fields are changed.
New display label for the test user.
New login username or email.
New password. Stored encrypted and never returned.
New free-text hints for the agent.
New URL of the login page.
New second factor the account uses. none for password only.
none, totp, email_otp, magic_link New TOTP secret. Required when mfa_method is totp. Stored encrypted and never returned.
New Strix-managed inbox for email_otp or magic_link MFA.
Domain ids this test user applies to. Empty array = every domain in the organization (requires unrestricted access).
Response
Updated test user.
A domain test account. Secrets are never returned — only boolean presence flags.
none, totp, email_otp, magic_link Domain ids this test user applies to. An empty array means it applies to every domain in the organization.