Add User to Project
POST
/api/project/{project_id}/user/
Project APIs
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/project//user/' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_ids": [
15,
16
],
"created_by": "system"
}'
Response Response Example
{
"success": true,
"message": "Users added to project successfully.",
"data": [
{
"id": 147,
"user": {
"id": 15,
"email": "user@example.com",
"is_staff": true,
"is_superuser": true,
"is_active": true,
"date_joined": "2024-01-29T16:13:36Z",
"first_name": "FirstName",
"last_name": "LastName",
"organization": {
"id": 1,
"org_name": "Organization Name",
"domain": "organization.com",
"is_deleted": false,
"created_by": "System",
"created_on": "2024-01-20T01:32:56.659642Z",
"modified_by": "",
"modified_on": "2024-01-20T01:32:56.659663Z"
}
}
}
]
}
Request
Path Params
project_id
integer
required
Example:
151
Body Params application/json