Page History
...
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 | booleanbool | false | boolean- | 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. |
Example Request URL
Example Result
Code Block | ||
---|---|---|
| ||
{ "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> } |