Skip to main content
Use this recipe when a user asks an agent to delete a project or a space.

Steps

  1. Resolve the target project with GET /projects.
  2. Call DELETE /projects/{project_id}?dry_run=true.
  3. Show the preview summary to the user.
  4. Ask for explicit confirmation.
  5. Apply the delete with DELETE /projects/{project_id} and an Idempotency-Key.

Preview

curl "https://tickward.com/api/v1/projects/project_123?dry_run=true" \
  -X DELETE \
  -H "Authorization: Bearer tw_your_api_key"

Apply

curl "https://tickward.com/api/v1/projects/project_123" \
  -X DELETE \
  -H "Authorization: Bearer tw_your_api_key" \
  -H "Idempotency-Key: project-delete-2026-06-07-001"