HashiCorp Cloud Platform
hcp profile profiles delete
Command: hcp profile profiles delete
The hcp profile profiles delete
command deletes an existing HCP profiles. If
the profile is the active profile, it may not be deleted.
To delete the current active profile, first run hcp profile profiles activate
to active a different profile.
Usage
$ hcp profile profiles delete PROFILE_NAMES [PROFILE_NAMES ...] [Optional Flags]
Examples
Delete a profile:
$ hcp profile profiles delete my-profile
Delete multiple profiles:
$ hcp profile profiles delete my-profile-1 my-profile-2 my-profile-3
Delete the active profile:
$ hcp profile profiles active my-other-profile $ hcp profile profiles delete
my-profile
Positional arguments
PROFILE_NAMES [PROFILE_NAMES ...]
- The name of the profile to delete. May not be the active profile.