Sign in

Add team user

documented

Add a user to a team.

POST /teams/{team_id}/usersTeamsno implementation yet0 runs
No 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/teams/{{$team_id}}/users/{{$user_id}}" \
  -X PUT \
  -H "Authorization: Token token={{PAGERDUTY_API_KEY}}" \
  -H "Accept: application/vnd.pagerduty+json;version=2" \
  -H "Content-Type: application/json" \
  -d '{"role": "{{$role}}"}'
Add team user · PagerDuty · OpenIntegrations