Skip to content
CLI reference for ChalkSurf CLI v0.5.0. Your installed chalksurf --help output remains authoritative for that binary.

chalksurf exercise delete

chalksurf exercise delete [exerciseId]
Delete an unused exercise after confirmation
Positionals:
exerciseId Exercise ID to delete [string]
Options:
--json Write machine-readable JSON to stdout [boolean] [default: false]
--result-file Publish the complete JSON result envelope to a new private file [string]
--base-url Base URL of the ChalkSurf API [string]
--organization Organization ID to use for this command [string]
--profile CLI profile to use for this command [string]
-v, --version Show the CLI version [boolean]
--help Show help [boolean]
--dry-run Preview eligibility and effects without submitting work [boolean]
--request-id Explicit request identity for an intentional exact resend [string]
--request-file Exclusive private attempt artifact destination [string]
--spec Editable library specification file or - for stdin [string]
--spec-out Save a local editable specification; use --dry-run to also prepare it [string]
--plan-out Save a guarded library plan; requires --dry-run [string]
--keyless Submit without a recovery key; cannot combine with --request-id [boolean]
--expected-updated-at Expected current exercise updated_at ISO timestamp [string]
--confirm-resource-id Must exactly match the exercise ID being deleted [string]
Examples:
chalksurf exercise delete 00000000-0000-4000-8000-000000000001 --expected-updated-at 2026-01-01T00:00:00.000Z --confirm-resource-id 00000000-0000-4000-8000-000000000001 --json Delete an unused exercise with destructive confirmation