cops auth delete removes the named profile from config.json. All stored credentials and settings for that profile are deleted permanently.
Usage
Arguments
The name of the profile to delete. Run
cops auth profiles to see all available profile names.Examples
Behavior when deleting the active profile
If the profile you delete is currently active, cops automatically falls back to the first remaining profile (if any). If no profiles remain after the deletion, there is no active profile and commands that require authentication will error until you runcops auth login.
Notes
If the named profile does not exist, the command exits with an error. Check available profiles first with
cops auth profiles.Related
cops auth profiles
List all configured profiles.
cops auth logout
Unset the active profile without deleting it.
cops auth login
Create a replacement profile.
