Create communication plan
documentedCreate a new communication plan.
POST /plansWORKFLOWS AND COMMUNICATION PLANSno 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://{{$deployment}}.xmatters.com/api/xm/1/plans/" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"name": "{{$plan_name}}", "enabled": {{$enabled}}, "accessibleByAll": {{$accessibleByAll}}, "floodControl": {{$floodControl}}, "position": {{$position}}, "description": "{{$description}}"}'