beel_put_member_grant
Grant or update a member's access level to a single company, leaving other grants unchanged. Use this to manage company-specific permissions for members.
Instructions
Grants a MEMBER access to one company, or changes the access_level of an existing grant. Only the company in the path is touched: the member's other grants are left exactly as they were. NONE is not accepted here — remove access by deleting the grant. OWNER and ADMIN members reach every company implicitly and cannot receive grants.
Endpoint: PUT /v1/accounts/{account_id}/members/{member_id}/grants/{company_id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| member_id | Yes | Membership unique UUID. | |
| account_id | Yes | Your own account, or an account you provisioned. It — not the credential — decides which account the operation acts on; a `403` is returned when you do not reach it, the same response an account that does not exist gets. | |
| company_id | Yes | Company (NIF) unique UUID within the account. |