I’m trying to create a team via the API. I have some Python code which reads the list of teams and users already created and that works fine. I then tried to make it create a team which failed. To make things simpler I tried it from the command line, pretty much using the curl example in the API docs and it still doesn’t work.
curl -X POST --header “Content-Type: application/json” --header ‘Authorization: XXXXXXXXX’ --header ‘Accept: application/vnd.pagerduty+json;version=2’ -d ‘Team_Name’ ‘https://api.pagerduty.com/teams’
The API key is v2 Current, Full access.
Anyone else having similar problems?