openwisp_create_user
Create a new OpenWISP user with role and organization permissions to control access. Provide username, email, and password via the API.
Instructions
[Category: Users & Auth] Create a new user in OpenWISP with role and organization permissions. (HTTP POST /api/v1/users/user/)
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": {
"username": "<username>",
"email": "<email>",
"password": "<password>"
},
"name": "openwisp_create_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Email address | ||
| is_staff | No | Admin/staff privileges flag | |
| password | Yes | Account password | |
| username | Yes | Unique username for the account | |
| is_active | No | Whether the account is active | |
| last_name | No | Last name | |
| first_name | No | First name |