How can we help?

Custom Action: PagerDuty - Create a user

Andrew Bartel
Andrew Bartel
  • Updated

It's possible to create a user in PagerDuty using a custom action in a Torii workflow.

Requirements

Custom Action Configuration

Method: POST

URL: https://api.pagerduty.com/users

Query Parameters

Not required.

Headers

Parameter Variable Mapping
Content-Type application/json
Accept */*
Authorization Token token=[SecretsVault.PagerDutyAPIToken]
From your_email@example.com

Store your PagerDuty API key in Torii using our Secrets Vault.

Body

{
  "user": {
    "type": "user",
    "name": "John Doe",
    "email": "new-user@example.com"
  }
}

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request