v1

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

Update a single service object

Update a single service object in the Datadog Opsgenie integration.

patch/api/v2/integration/opsgenie/services/{integration_service_id}

Path parameters

integration_service_idstring required

The UUID of the service.

Request body

Example request

{
  "data": {
    "attributes": {
      "custom_url": "https://example.com",
      "name": "fake-opsgenie-service-name",
      "opsgenie_api_key": "00000000-0000-0000-0000-000000000000",
      "region": "us"
    },
    "id": "596da4af-0563-4097-90ff-07230c3f9db3",
    "type": "opsgenie-service"
  }
}

Response

OK

Example response

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