# Sharing

Manage access, invitations, and public links for pages, folders, and workspaces.

## Endpoints

- `GET /shares/entity/{entityType}/{entityId}`: Get Sharing Settings
- `PATCH /shares/entity/{entityType}/{entityId}/inheritance`: Update Inherited Access
- `PATCH /shares/entity/{entityType}/{entityId}/public-access`: Update Public Access
- `POST /shares/entity/{entityType}/{entityId}/grants`: Share A Page Or Folder With Someone
- `DELETE /shares/grants/{grantId}`: Revoke A Share
- `PATCH /shares/grants/{grantId}`: Update A Share Permission
- `DELETE /shares/entity/{entityType}/{entityId}/grants/by-email/{email}`: Remove A Direct Share By Email
- `PATCH /shares/entity/{entityType}/{entityId}/grants/by-email/{email}`: Update A Direct Share By Email
- `POST /shares/entity/{entityType}/{entityId}/leave`: Remove A Shared Entity From Your View
- `POST /shares/invitations/{invitationId}/resend`: Resend A Sharing Invitation
- `DELETE /shares/invitations/{invitationId}`: Revoke A Sharing Invitation
- `POST /shares/entity/{entityType}/{entityId}/invitations/by-email/{email}/resend`: Resend An Entity Invitation By Email
- `DELETE /shares/entity/{entityType}/{entityId}/invitations/by-email/{email}`: Revoke An Entity Invitation By Email
- `GET /shares/workspace`: Get Workspace Sharing Settings
- `POST /shares/workspace/members`: Add Or Invite A Workspace Member
- `DELETE /shares/workspace/members/{memberId}`: Remove A Workspace Member
- `PATCH /shares/workspace/members/{memberId}`: Update A Workspace Member Role
- `DELETE /shares/workspace/members/by-email/{email}`: Remove A Workspace Member By Email
- `PATCH /shares/workspace/members/by-email/{email}`: Update A Workspace Member By Email
- `POST /shares/workspace/invitations/by-email/{email}/resend`: Resend A Workspace Invitation By Email
- `DELETE /shares/workspace/invitations/by-email/{email}`: Revoke A Workspace Invitation By Email
- `DELETE /shares/workspace/memberships/{ownerId}`: Leave A Workspace
