POST /service_dependencies/associate
Create new dependencies between two services.
Business services model capabilities that span multiple technical services and that may be owned by several different teams.
A service can have a maximum of 2,000 dependencies with a depth limit of 100. If the limit is reached, the API will respond with an error.
For more information see the API Concepts Document
Scoped OAuth requires: services.write
Servers
- https://api.pagerduty.com
Request headers
Name | Type | Required | Description |
---|---|---|---|
Accept |
String | Yes |
The Default value: "application/vnd.pagerduty+json;version=2" |
Content-Type |
String | Yes |
Possible values:
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
relationships[] |
Array | No |
List of all service dependencies to be created. |
relationships[].supporting_service |
Object | No |
The reference to the service that supports the dependent service. |
relationships[].supporting_service.id |
String | No | |
relationships[].supporting_service.type |
String | No | |
relationships[].dependent_service |
Object | No |
The reference to the service that is dependent on the supporting service. |
relationships[].dependent_service.id |
String | No | |
relationships[].dependent_service.type |
String | No |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.