Grant Site Access
Grant a workspace member access to a site, named by email or memberId.
This creates access — it does not change an existing grant. A member who already has access to this site is refused with member_already_has_access; use PATCH to change their Site Role instead.
Required scope | site_access:write
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
Email address of the Workspace Member to grant access to. Provide either email or memberId, not both.
ID of the Workspace Member to grant access to. Provide either email or memberId, not both.
ID of the custom Site Role to grant. Required when siteRole is custom, and rejected with any other siteRole. Rejected if the id doesn’t name a custom Site Role belonging to this workspace.