Delete Profile
DELETE https://infrahub-api.nexgencloud.com/v1/core/profiles/{id}
Deletes an existing provisioning profile containing the saved configuration of a virtual machine. Include the profile ID in the path to delete the specified profile.
Path parameters
id integer
Required
The unique identifier of the profile to be deleted.
Attributes
status boolean
Specifies the status of the profile deletion. true
indicates success, while false
indicates an error.
message string
A message describing the success or failure of the request to delete a provisioning profile.
Request
curl -X DELETE "http://infrahub-api.nexgencloud.com/v1/core/profiles/{id}" \
-H "accept: application/json"\
-H "api_key: YOUR API KEY"
Response
{
"status": true,
"message": "Profile deleted."
}
Returns
The response includes the status of the request to delete a profile and description of the status.