Delete a profile from the system.
Profiles can be deleted under the following conditions:
/cubit_api/1/delete_profile
This method requires authentication using an API key.
Successful delete of the profile rhel3_base:
<?xml version='1.0'?>
<cubit version='1'>
<status>OK</status>
<output>rhel3_base</output>
</cubit>
If the user is unauthorized:
<?xml version='1.0'?>
<cubit version='1'>
<error>0 of 1 profiles deleted successfully. Failed profiles below.</error>
<output>rhel3_base: You do not have modify rights on this profile.</output>
</cubit>
If a deletion of profiles partially succeeds:
<?xml version='1.0'?>
<cubit version='1'>
<error>7 of 8 profiles deleted successfully. Failed profiles below.</error>
<output>rhel3_base: This profile has been used to build hosts.</output>
</cubit>