Skip to content

delete_artifact

Deletes an artifact’s two files from main; its versions stay in the site’s history. Typed inside bash, where help delete_artifact prints the same.

Usage: delete_artifact SLUG [options]
Deletes an artifact's two files from main; its versions stay in the
site's history. Deleting one visitors see waits for the owner's
approval (`pending`). One a branch made leaves that branch.
Options:
--slug TEXT (required)
The artifact's slug, from list_artifacts.
--branch TEXT (default: the checkout's branch)
Only for one a branch made that is not live yet and two branches made: the branch, as list_artifacts names it.
--json OBJECT
Every argument at once, as one JSON object; --json - reads it from stdin.