Set Tracker entity direct permissions
tracker_entities_permissions_update_directGrant or revoke direct permissions for a Tracker entity (project, portfolio, goal) without altering other rights. Read current permissions before updating.
Instructions
Grant and revoke an entity's direct rights; the rest stay as they are.
grant and revoke each map READ / WRITE / GRANT to users (logins or ids),
groups (ids) and roles (AUTHOR, OWNER, CLIENT, FOLLOWER, MEMBER). Returns the
resulting rights. Read them first with entities_permissions_get_direct.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Typed request body for ``PATCH …/permissions`` (grant and revoke direct rights). Each side maps an access level (READ / WRITE / GRANT) to users, groups and roles; the API adds or removes exactly those and keeps the rest. ``permissionSources`` is refused (400). | |
| entity_id | Yes | Entity id (or shortId). | |
| entity_type | Yes | Entity type: ``project``, ``portfolio`` or ``goal``. |