Update project type.
Expect error codes:
- INVALID_NAME - when name is invalid
- INVALID_PERSON - when one of provided persons is invalid
- INVALID_TEAM - when one of provided teams is invalid
Security
basicAuth
List of employees e-mails or logins.
Example:
[ "john.smith@domain.com" ]
- https://awesome-company.calamari.io/apihttps://awesome-company.calamari.io/api/clockin/projects/v1/update
curl -i -X POST \
-u '<username>:<password>' \
https://awesome-company.calamari.io/api/clockin/projects/v1/update \
-H 'Content-Type: application/json' \
-d '{
"projectId": 13,
"name": "PROJECT-123",
"restrictedToPersons": [
"john.smith@domain.com"
],
"restrictedToTeams": [
"Developers Team"
]
}'Response
{ "id": 0, "name": "Primary project", "employees": [ { … } ], "teams": [ { … } ] }