Delete Plans API
Delete Plans API enables bulk deletion of plans for master and non-master action sites. Use GET /serverautomation/bulkplanoperation/delete-plans to retrieve the XML template, then POST the completed template to /serverautomation/bulkplanoperation/master or /serverautomation/bulkplanoperation/custom/{site} to execute the deletion. Responses return deletion results in XML for the master site or an automation plan action ID for non-master sites; PUT and DELETE are not supported.
| Method | Summary |
|---|---|
| GET |
Endpoint: /serverautomation/bulkplanoperation/delete-plans Description: Retrieves the XML template for bulk deletion of plans for both the master and non-master action sites. Required Request Content: The URL is all that is required. Response Content: Template for bulk deletion of plans. Response Schema:
Sample Response Content: N/A. |
| POST |
Endpoint: /serverautomation/bulkplanoperation/master Description: Deletes the plans whose IDs are given as input for the master action site specified by the URL. Required Request Content: A completed bulk operation
delete plans template XML document. For example:
Response Content: The result of bulk plan deletion in XML format. Response Schema:
Sample Response Content: N/A. |
| POST |
Endpoint: /serverautomation/bulkplanoperation/custom/My_site Description: Deletes the plans whose IDs are given as
input for the non-master action site specified by the URL. Also,
the site type and site name need to be sent in the request.
Note: Non-master sites can be
external/custom/operator sites. Required Request Content: A complete object XML/Schema in the request body (the same object that we receive as the GET method’s response). Response Content: A newly created automation plan action ID. Response Schema: SA-REST.xsd Sample Response Content: N/A. |
| PUT |
Not supported for this resource. |
| DELETE |
Not supported for this resource. |