Skip to content
CLI reference for ChalkSurf CLI v0.3.6. 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]
--expected-updated-at Expected current exercise updated_at ISO timestamp [string] [required]
--confirm-resource-id Must exactly match the exercise ID being deleted [string] [required]
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