create_user
Create a new user account in PocketBase by providing email, password, and verification settings to establish user authentication and access control.
Instructions
Create a new user account
Input Schema
Name | Required | Description | Default |
---|---|---|---|
additionalData | No | Additional user data fields specific to your auth collection | |
collection | No | Auth collection name (default: 'users') | |
Yes | User email | ||
emailVisibility | No | Whether the user email is publicly visible (default: false) | |
password | Yes | User password | |
passwordConfirm | Yes | Password confirmation (must match password) | |
verified | No | Whether the user is verified (default: false) |
Input Schema (JSON Schema)
{
"properties": {
"additionalData": {
"description": "Additional user data fields specific to your auth collection",
"type": "object"
},
"collection": {
"description": "Auth collection name (default: 'users')",
"type": "string"
},
"email": {
"description": "User email",
"type": "string"
},
"emailVisibility": {
"description": "Whether the user email is publicly visible (default: false)",
"type": "boolean"
},
"password": {
"description": "User password",
"type": "string"
},
"passwordConfirm": {
"description": "Password confirmation (must match password)",
"type": "string"
},
"verified": {
"description": "Whether the user is verified (default: false)",
"type": "boolean"
}
},
"required": [
"email",
"password",
"passwordConfirm"
],
"type": "object"
}