API to Delete an Appliance
This endpoint deletes the given Appliance.
DELETE /openapi/v1/ext_appliances/<id>
where <id> is the appliance_id that can be obtained from the API to Get List of Appliances.
Parameters: The request URL contains the following parameters
Name |
Type |
Description |
---|---|---|
id |
string |
Specify the Appliance ID |
Response object: Returns the status of the deleted Appliance.
Sample response
resp = restclient.delete('/ext_appliances/63be3b1ade36423c12bff6e1')
if resp.status_code == 200:
parsed_resp = json.loads(resp.content)
print json.dumps(parsed_resp)
Sample response
{
"status": 200,
"code": 1000,
"message": "deleted"
}