Quantcast
Channel: PagerDuty Community - Latest topics
Viewing all articles
Browse latest Browse all 1569

Creating a team via the API

$
0
0

@RobertAyres wrote:

Hi,

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?

Thanks.

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1569

Trending Articles