Unable to create alerting destination in v2.1.0

I am unable to configure an alerting destination via API in v2.1.0 of OpenSearch.
Below works in v1.3.3:

POST _plugins/_alerting/destinations
{
  "name": "my-destination",
  "type": "slack",
  "slack": {
    "url": "http://www.example.com"
  }
}

In v2.1.0 get the following error:

{
  "error" : "Incorrect HTTP method for uri [/_plugins/_alerting/destinations?pretty=true] and method [POST], allowed: [GET]",
  "status" : 405
}

I copied this example from current API documentation - https://opensearch.org/docs/2.1/monitoring-plugins/alerting/api/#create-destination

Anyone else seen this issue?

Hi @michaelk,

As of OpenSearch 2.0, Destinations were deprecated in favor of Notifications Channels. There is a section here in the documentation that outlines some common questions about the transition and you can refer to the Notifications documentation for specifics on that plugin.

The read Destination API are still available but the write operations are not. This should have been reflected in the documentation but it looks like there are still some things left in there from before the migration. We’ll take a look at clearing up that discrepancy. Thanks for bringing this up.