unshare
Revoke public share links for an artifact immediately; the old URL returns 404. Omit version or pass 0 to revoke every link, or specify a version to revoke only pinned links.
Instructions
Revoke public share links. Takes effect immediately; the old URL returns 404.
Permission: share.
Arguments: artifact_id (required), version (optional). A version revokes only pinned links for that version. Omit it, or pass 0, to revoke every public link, including the one that follows the latest version.
Returns: artifact_id, revoked_links (count), and state. state is "shared" when a public link is still live (with url and follows), and "not_shared" only when none is.
Example: unshare(artifact_id="art_example")Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Revoke only this version. Optional. Omit it, or pass 0, to revoke every version of the artifact. | |
| artifact_id | Yes | Artifact whose public links should be revoked. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||