Test Users
Create a domain test user
Creates a test account the agent can log in as. Secrets are encrypted at rest and never returned. Email-based MFA requires a Strix-managed inbox (see provision-inbox).
POST
Error
Authorizations
API token obtained from the Tokens endpoint. Include as Authorization: Bearer <token>.
Path Parameters
Domain id.
Body
application/json
Display label for the test user.
Login username/email.
Stored encrypted; never returned.
Available options:
none, totp, email_otp, magic_link Required when mfa_method=totp. Stored encrypted.
Required for email_otp/magic_link. Must be a Strix-managed inbox in the caller's org pod (see provision-inbox).
Response
Test user created.
A domain test account. Secrets are never returned — only boolean presence flags.
Available options:
none, totp, email_otp, magic_link Error