PagerDuty / api-schema

PagerDuty OpenAPI schemas
30 stars 25 forks source link

Schedules: Success Code incorrect for Create Schedule #497

Open pdt-rmunoz opened 1 week ago

pdt-rmunoz commented 1 week ago

Hi Team, when I create a schedule through API or UI, the success code is 200. I'm not sure if this is an error in the API itself as Create Escalation Policy returns 201, so the logic should be the same. In case, this is the expected behavior, please update the Response Code in the documentation.

Documentation with the issue: https://developer.pagerduty.com/api-reference/9fd73d80ad5f7-create-a-schedule