This command deletes an OS profile.
An OS profile can be deleted even if it is currently deployed on a server. However, you cannot delete a profile that is currently in use, which means it is actively being deployed on a server. Use the show osprofile command to see whether an OS profile is in use.
Delete an OS profile:
delete osprofile osprofile
osprofile – The name of an OS profile to delete.