Create a new service object
POST {{baseUrl}}/api/v2/integration/opsgenie/services
Create a new service object in the Opsgenie integration.
Request Body
{"data"=>{"type"=>"opsgenie-service", "attributes"=>{"name"=>"fake-opsgenie-service-name", "opsgenie_api_key"=>"00000000-0000-0000-0000-000000000000", "region"=>"us", "custom_url"=>"https://example.com"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"data":{"id":"596da4af-0563-4097-90ff-07230c3f9db3","type":"opsgenie-service","attributes":{"custom_url":null,"name":"fake-opsgenie-service-name","region":"us"}}}