Quatrix APIs v1.0
Space shortcuts
Quatrix APIs v1.0 QA1
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

This API call is used to edit a user.

Resource URL

/api/1.0/user/edit/<ID>

Resource Information

 

Response formatsJSON
Response code200
Requires authentication?Yes
HTTP MethodPOST

Parameters

 

Name TypeDefault ValueValidationDescription

id

required

uuid-uuid4user 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 

boolfalse-

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

email

optional

string-emailuser 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>
}

 

 

 

 

  • No labels
Quatrix APIs v1.0 QA1