This API call is used to create a user.
Resource URL
/api/1.0/user/create
Resource Information
| Response formats | JSON |
| Response code | 201 |
| Requires authentication? | Yes |
| HTTP Method | POST |
Parameters
| Name | Type | Default Value | Validation | Description |
parent_id required | uuid | - | uuid4 | user ID of the parent |
name required | string | - | length(3, 511) | user full name |
quota optional | int | -1 | int | user file usage quota. -1 = unlimited |
status required | string<'A'|'D'> | - | - | user status |
required | string | - | user email | |
super_admin optional | bool | false | - | enables to return files. |
home_id optional | uuid | - | uuid4 | user home folder. If not specified will be created automatically. |
user_operations optional | int | - | int | user permissions |
home_operations optional | int | - | int | user home folder permissions |
language optional | string | - | string | user language. Not used as of now. |
groups ? | list? | ? | uuid4? | user groups |
Example Request URL
Example Result
{
"id": <uuid>,
"parent_id": <uuid>,
"home_id": <uuid>,
"home_name": <string>,
"super_admin": <string>,
"name": <string>,
"email": <string>,
"status": <string>,
"quota": <int>,
"created": <timestamp>,
"modified": <timestamp>,
"user_operations": <int>,
"home_operations": <int>,
"language": <string>
"storage_id": <uuid>,
"has_key": <bool>
}
Add Comment