Set who can sign up
appUsersSetSignupModeSwitch who can sign up to one owned app — “Who can sign up” on its Sign-in page. It changes the app for its visitors, and requires confirmed: true, representing the human’s agreement to this exact mode for this exact app; without the literal nothing is sent. mode: invited lets in only the people the owner added — anyone new who tries to sign up is turned away, on the app’s own sign-up page and through Tofu’s Google sign-in alike — and mode: anyone lets anyone sign up. Everyone who already has an account keeps signing in either way, and existing accounts are not removed by this change. It doesn’t stop anyone opening the app; choosing who can open it is appSharingSetMode’s. An error result alone does not establish the app’s current sign-up mode.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"mode": "<mode>",
"confirmed": "<confirmed>"
},
"name": "appUsersSetSignupMode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| confirmed | Yes | ||
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| outcome | Yes | ||
| signupMode | Yes |