DELETE /macro

DELETE /macro

In the following example, the MACRO API is used to delete the VirtualService from the POST example above.
The Pool and associated HealthMonitor object will also be deleted.
The existing ApplicationProfile and NetworkProfile objects will not be deleted as they are in use by another VirtualService.
The MACRO API will automatically calculate which objects to delete from the uuid of the top level object.

DELETE /api/macro
{
    "model_name": "VirtualService",
    "data": {
        "uuid": "n_vs_uuid"
    }
}
Request
URI
DELETE
https://api_host/api/macro
COPY
Request Body

Object deletion

DELETE_Macro of type(s) application/json
Required
{
    "model_name": "string"
}
string
model_name
Required

object name

object
data
Required

JSON object containing the UUID of the mentioned object name

Responses
204

object deleted

Returns string of type(s) application/json
Operation doesn't return any data structure

404

not found

Operation doesn't return any data structure