This API call is used to edit a user.
Resource URL
/api/1.0/user/edit/<ID>
Resource Information
Response formats | JSON |
Response code | 200 |
Requires authentication? | Yes |
HTTP Method | POST |
Parameters
Name | Type | Default Value | Validation | Description |
id required | uuid | - | uuid4 | user ID |
parent_id optional | uuid | - | uuid4 | user ID of the parent |
name optional | string | - | length(1, 511) | user full name |
quota optional | int | - | int | user file usage quota. -1 = unlimited |
status optional | string<'A'|'D'> | - | - | user status |
super_admin optional | bool | false | - | enables to return files. |
home_id optional | uuid | - | uuid4 | user home folder |
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 optional | list? | ? | ? | user groups |
optional | string | - | user email |
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>, "groups": [...], }
0 Comments