Grant project access
grant_project_accessGrants one member direct access to one project at Read, Write or Admin, optionally until a date; granting again replaces their grant. Mirrors Grant access on a project's Access tab; needs project Admin on that project. Owners and Admins already reach every project and Billing none, so they cannot be granted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | Yes | Read, Write or Admin. | |
| userId | Yes | The member's userId, as list_members or get_project_access returns it. | |
| project | No | The project's slug; omitted, the organization's only live project. | |
| expiresAt | No | When the grant ends, as an ISO 8601 date or time in the future; omitted, it never does. A date already past is refused. |