Projects

post
Create Project

https://v3.cloras.com/api/projects/create
To create a new project and for providing access to given users or to specific groups.
Request
Response
Request
Headers
Authorization
required
string
Bearer {access_token}
Body Parameters
project_name
required
string
Project Name
project_description
required
string
Project Description
users
optional
array
User Email ID's
groups
optional
array
User Group ID's
Response
200: OK
Successfull Response
{
"additional_data": {},
"data": {
"project_id": "6024f4cc15bea95eea74ef5d"
},
"error_code": "",
"message": "Success",
"status": 200,
"success": true
}
401: Unauthorized
Authentication Error
{
"data": null,
"message": "UserWarning('Suspicious login attempt',)",
"response_status": 401,
"status": false,
"status_code": 401
}

post
Update Project

https://v3.cloras.com/api/projects/update/:id
To modify and update the existing project.
Request
Response
Request
Path Parameters
id
required
string
Project ID
Headers
Authorization
required
string
Bearer {access_token}
Body Parameters
users
optional
array
User Email ID's
groups
optional
array
User Group ID's
project_name
optional
string
Project Name
project_description
optional
string
Project Description
Response
200: OK
Successfull Response
{
"additional_data": {},
"data": {
"project_id": "6024f4cc15bea95eea74ef5d"
},
"error_code": "",
"message": "Success",
"status": 200,
"success": true
}
401: Unauthorized
Authentication Error
{
"data": null,
"message": "UserWarning('Suspicious login attempt',)",
"response_status": 401,
"status": false,
"status_code": 401
}