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"=>"<string>", "opsgenie_api_key"=>"<string>", "region"=>"us", "custom_url"=>"<string>"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"data":{"id":"\u003cstring\u003e","type":"opsgenie-service","attributes":{"custom_url":"\u003cstring\u003e","name":"\u003cstring\u003e","region":"eu"}}}