Create a timesheet whitelist
POST/api/timesheet-whitelists
Adds a person to the timesheet whitelist of a project.
warning
The whitelist is enforced only when both of these hold:
- the whitelist is enabled for the project (check it here);
- the person tracking time lacks the time_tracking.bypass_whitelist permission.
That permission bypasses the whitelist on every project, whether tracking time for themselves or for someone else.
Required permissions:
- pipeline.edit: allows managing the timesheet whitelist of projects where the user is the PM or the Account.
- pipeline.edit_other: allows managing the timesheet whitelist of projects where the user is not the PM nor the Account.
Request
Responses
- 201
- 400
- 401
- 403
- 409
- 412
Returns the timesheet whitelist created.
Validation failed
Unauthorized
Forbidden
The person is already in the timesheet whitelist of the project.
Precondition failed