Share or unshare a Library artifact
Changed onTurn the public link on or off, as the web share dialog does. revision is the current version; publicVersion pins the version every public alias serves. Disabling revokes every public alias but keeps authenticated grants. Optional sharingRevision compares the whole access state; revokeAll=true with enabled=false also stops workspace/member grants and placement atomically. A fixed-workspace credential cannot read or change whole-artifact sharing if any audience grant is outside its credential ceiling.
patch/library/artifacts/{id}/share
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/library/artifacts/{id}/share
- AuthHTTP bearer
Path parameters
idstring required
Artifact id.
Request body
Response
OK
object required
Changes
- info
endpoint added
- info