Skip to main content

Create Policy

Creates a new policy.

External Documentation

To learn more, visit the Opsgenie documentation.

Parameters

ParameterDescription
EnabledActivity status of the alert policy.
NameName of the policy.
Policy DescriptionDescription of the policy.
Team IDThe identifier of the team that this policy belongs. Value should be null for global policies.
TypeType of the policy.

Example Output

{
"data": {
"enabled": false,
"id": "string",
"name": "string",
"order": 0,
"type": "string"
},
"requestId": "string",
"took": 0
}

Automation Library Example

Create Policy with Opsgenie and Send Results Via Email

Automation LibraryPreview this Automation on desktop