xCloud
create_test_end_users
Create test end users on one of your application's sign-in realms, so your tool can test sign-in with no person and no mailbox. Name one to twenty `labels`: each becomes an end user with the verified address `<label>@synthetic.turnzero.ai`, which receives no mail, and an optional `expires_in_days` (1 to 30; 7 where absent) sets when the platform removes it. The `environment` argument is required: `development` or `production`, the realm the call addresses; development's standing only once `create_environment` has turned development on. The development realm admits test end users from its creation; the production realm only after a person approves `admit_test_end_users`. Answers `test_signin_page`, the realm's test sign-in page, and per label the user's `id`, `email`, `expires_at`, and `created`. A label an unexpired test end user already holds answers that user with `created` false and creates nothing, so repeating the call is safe; an expired one is removed and created afresh. Sign one in at the test sign-in page with its address, read its code with `read_test_signin_code`, and type the code; the session is a real one, and the application's code runs unchanged. Test end users count toward no user count or limit. Refused `test_end_users_not_admitted` where the realm does not admit them; the detail names the remedy. Refused `test_end_users_ceiling_reached` past twenty standing on the realm or fifty created within the hour, `not_test_end_user` for a label whose address a real end user holds, and `test_end_users_disabled` while the platform's `TEST_END_USERS` setting is off.
Remote (network-hosted)
Other tools also called create_test_end_users?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"labels": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9-]{2,39}$"
},
"description": "One to twenty labels, each the local part of a test end user's address at the fixture domain `synthetic.turnzero.ai`: a lowercase letter, then lowercase letters, digits, and hyphens, three to forty characters. A label an unexpired test end user of the realm holds answers that user unchanged; one whose row has expired is removed and created afresh; one whose address another end user of the realm holds is refused 409 `not_test_end_user`."
},
"application": {
"type": "string",
"description": "The application id, from `list_applications`; one of the calling account's own."
},
"environment": {
"type": "string",
"pattern": "^(development|production)$",
"description": "Required. The environment whose realm the call addresses, `development` or `production` (the accounts service PRD's realm statement)."
},
"expires_in_days": {
"type": "integer",
"maximum": 30,
"minimum": 1,
"description": "Optional. The days from now at which the platform removes each created test end user, 1 to 30; 7 where absent. A label answered unchanged keeps its own expiry."
}
}
}