Revoke model access
layerz_revoke_shareRemove a collaborator or pending invite from a model by principal_id (the id returned by layerz_list_shares — a user id for an active share, or the pending-invite id). Owner-only; not available for read-only API keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | No | Target model UUID. Required for user-scoped API keys; ignored (or validated against scope) for model-scoped keys. | |
| principal_id | Yes | The collaborator/invite id returned by layerz_list_shares. |