Delete
Deletes each listed Monitoring Template independently - best-effort, not all-or-nothing: an id with no matching Monitoring Template, or one that otherwise fails to delete, does not block the rest of the batch. The per-id outcome (which ids were deleted, which failed and why) is reported in the response body - the caller checks the failed list, not the HTTP status, for partial failures. Any plugin configuration already pushed onto a successfully-deleted template's members is removed automatically, in the background, not synchronously as part of this call.
Identifiers of the Monitoring Templates to delete
Show optional properties
{
"templateIds": [
{}
]
}
"{\n \"templateIds\" : [ \"3902b93e-422a-4c4e-888e-28e0bf82f5d0\", \"b7e2c4a1-9d3e-4f6a-8c2b-1e5d7f9a3c0e\" ]\n}"
Identifiers of the Monitoring Templates to operate on
The per-id outcome of the batch - see failed for which ids, if any, could not be deleted and why
"{\n \"deleted\" : [ \"3902b93e-422a-4c4e-888e-28e0bf82f5d0\" ],\n \"failed\" : [ {\n \"id\" : \"b7e2c4a1-9d3e-4f6a-8c2b-1e5d7f9a3c0e\",\n \"reason\" : \"No Monitoring Template found with id 'b7e2c4a1-9d3e-4f6a-8c2b-1e5d7f9a3c0e'\"\n } ]\n}"
Ids of the Monitoring Templates that were deleted
Ids of the Monitoring Templates that could not be deleted, with the reason for each
The caller lacks the privilege to manage Application Monitoring
curl -X DELETE -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"templateIds":["string"]}' https://{api_host}/suite-api/api/applications/templates