v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Opsgenie Integration

Update an Opsgenie account

Update a single Opsgenie account in the Datadog Opsgenie integration.

patch/api/v2/integration/opsgenie/accounts/{account_id}

Path parameters

account_idstring required

The UUID of the Opsgenie account.

Request body

Example request

{
  "data": {
    "attributes": {
      "api_key": "00000000-0000-0000-0000-000000000000",
      "region": "us"
    },
    "id": "596da4af-0563-4097-90ff-07230c3f9db3",
    "type": "opsgenie-account"
  }
}

Response

OK

Example response

{
  "data": {
    "attributes": {
      "region": "us"
    },
    "id": "596da4af-0563-4097-90ff-07230c3f9db3",
    "type": "opsgenie-account"
  }
}