Usage
initiat secret delete <secret-key> [options]
Arguments
secret-key
required
The key/name for the secret
Options
-f
|
--force
Skip confirmation prompt
-P
|
--project-path
Full project path (org/project) or alias
-p
|
--project
Project name (uses default org or --org)
--org
Organization slug (used with --project)
Examples
Delete secret with confirmation
initiat secret delete API_KEY --project-path acme-corp/production
Delete secret with short flags
initiat secret delete API_KEY -P acme-corp/production
Force delete without confirmation
initiat secret delete OLD_API_KEY --project production --force
How it works
-
→
Prompts for confirmation (unless --force is used)
-
→
Deletes secret from server
-
→
Shows confirmation message
Output
⚠️ Are you sure you want to delete secret 'API_KEY' from project acme-corp/production? (y/N): y
🗑️ Deleting secret 'API_KEY' from project acme-corp/production...
✅ Secret 'API_KEY' deleted successfully!