Create service
documentedCreate a new PagerDuty service.
POST /servicesServicesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.pagerduty.com/services" \
-X POST \
-H "Authorization: Token token={{PAGERDUTY_API_KEY}}" \
-H "Accept: application/vnd.pagerduty+json;version=2" \
-H "Content-Type: application/json" \
-d '{"service": {"name": "{{$service_name}}", "description": "{{$service_description}}", "auto_resolve_timeout": {{$auto_resolve_timeout}}, "acknowledgement_timeout": {{$acknowledgement_timeout}}, "time_zone": "{{$time_zone}}"}}'