Manage private CRID access
manage_crid_accessControl publisher access for a CRID resource by configuring policies, sending or resending email invites, listing and revoking invites or grants, and approving or denying access requests.
Instructions
Publisher access control. Invite takes only action, resource_id and email; omit expected_version, approval and policy. Report the exact invited email addresses without shortening them. Check every page of list_invitations before claiming nobody else was invited. If listing is denied, report the send receipts and say the list is unconfirmed; do not resend. Accepted delivery does not prove enrollment. Configure the next policy version, send or resend an email invitation, list invitations or consumer grants, approve or deny a request, approve a credential with id new, or revoke access. Read the current version before a decision; configuring the first policy on an existing private resource uses expected_version 0. For approve, put expected_version inside approval; zero is allowed only for id new. Existing requests use the listed decision id and version without credential fields. A six-digit code alone never authorizes approval on a resource with consumer_access. Ask which listed request the user wants to approve (the verified email for review); keys needs the intended public credential and contract needs a trusted entitlement receipt. Wait for that instruction. After an uncertain invite result, list invitations before retrying. Invite-only access has no consumer requests. Contract approval requires a trusted publisher entitlement receipt and expiry, not an unverified payment claim. A removal is complete only when session_cleanup is complete; retry the same removal/version while pending. Email proves mailbox control, not legal identity. Only listed fields are returned; invitation secrets and bearer links are never returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| No | |||
| limit | No | ||
| action | Yes | ||
| cursor | No | ||
| policy | No | ||
| approval | No | ||
| resource_id | Yes | The resource public key, CRID, or legacy r_ ID to manage access. | |
| expected_version | No | Current listed version for configure, resend, revoke_invitation, deny or revoke_grant. Omit on invites and listings; approve uses approval.expected_version. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grant | No | ||
| action | Yes | ||
| grants | No | ||
| resource | No | ||
| invitation | No | ||
| invitations | No | ||
| next_cursor | No |