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

This API call is used to create a user.

Resource URL

/api/1.0/user/create

Resource Information

 

Response formatsJSON
Response code201
Requires authentication?Yes
HTTP MethodPOST

Parameters

 

Name TypeDefault ValueValidationDescription

parent_id

required

uuid-uuid4

user ID of the parent

name 

required

string-length(3, 511)

user full name

quota 

optional

int-1int

user file usage quota. -1 = unlimited

status

required 

string<'A'|'D'>--

user status

email

required

string-email

user email

super_admin

optional 

boolfalse-

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

 

 

 

 

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.
Quatrix APIs v1.0 QA1