The project-users command lets you list, add, update, and remove users assigned to a project.
List project users
This command lists users on a project. Use this when you need to review assignments and hourly rates.
neetoinvoice project-users list --project e7a306eabfdd761fc2d8
Required flags:
--project- Project identifier. Refer to Getting the Project ID section for detailed instructions.
Optional flags:
--subdomain <name>- Target a specific logged-in workspace--json- Return JSON envelope output--quiet- Return raw payload only--toon- Return TOON output
Sample output:
{
"data": [
{
"id": "7bef1312-f2ba-4be8-baed-8668d0c38759",
"user_id": "4cf66641-7005-4dea-92b2-c29f537d1c31",
"role": "regular_user",
"hourly_rate": 100.0,
"name": "Oliver Smith",
"email": "[email protected]"
}
]
}
Add a user to a project
This command assigns an organization user to a project. Use this when onboarding someone to billable work.
neetoinvoice project-users create \
--project e7a306eabfdd761fc2d8 \
--user-id <user-uuid> \
--role regular_user \
--hourly-rate 100
Required flags:
--project- Project identifier--user-id- User ID to add
Optional flags:
--role-regular_userorproject_manager--hourly-rate- Hourly rate--subdomain <name>- Target a specific logged-in workspace--json- Return JSON envelope output--quiet- Return raw payload only--toon- Return TOON output
Sample output:
{
"data": {
"project_user": {
"id": "7bef1312-f2ba-4be8-baed-8668d0c38759",
"role": "regular_user",
"hourly_rate": 100.0,
"name": "Oliver Smith",
"email": "[email protected]"
}
}
}
Update a project user
This command updates a project user's role or hourly rate. Use this when billing terms change for someone on a project.
neetoinvoice project-users update 7bef1312-f2ba-4be8-baed-8668d0c38759 \
--project e7a306eabfdd761fc2d8 \
--hourly-rate 120
Required flags:
--project- Project identifier. Refer to Getting the Project ID section for detailed instructions.
Required argument:
<project-user-id>- Project user record UUID. Refer to Getting the Project User ID section for detailed instructions.
Optional flags:
--role-regular_userorproject_manager--hourly-rate- Hourly rate--subdomain <name>- Target a specific logged-in workspace--json- Return JSON envelope output--quiet- Return raw payload only--toon- Return TOON output
Sample output:
{
"data": {
"project_user": {
"id": "7bef1312-f2ba-4be8-baed-8668d0c38759",
"hourly_rate": 120.0
}
}
}
Remove a user from a project
This command removes a user from a project. Use this when someone should no longer log time on that project.
neetoinvoice project-users delete 7bef1312-f2ba-4be8-baed-8668d0c38759 \
--project e7a306eabfdd761fc2d8
Required flags:
--project- Project identifier. Refer to Getting the Project ID section for detailed instructions..
Required argument:
<project-user-id>- Project user record UUID. Refer to Getting the Project User ID section for detailed instructions.
Optional flags:
--subdomain <name>- Target a specific logged-in workspace--json- Return JSON envelope output--quiet- Return raw payload only--toon- Return TOON output
Sample output:
{"message":"Project user removed."}