library
turbot/pagerduty
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Create User

Create a new user.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run pagerduty.pipeline.create_user \
--arg 'email=<string>' \
--arg 'name=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = pagerduty.pipeline.create_user
args = {
email = <string>
name = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
conn
connection.pagerduty
YesName of PagerDuty connection to use. If not provided, the default PagerDuty connection will be used.connection.pagerduty.default
email
string
YesThe user's email address.-
name
string
YesThe name of the user.-
color
string
NoThe schedule color.-
description
string
NoThe user's bio.-
job_title
string
NoThe user's title.-
license
object({
id = string
type = string
})
NoThe License assigned to the user.-
role
string
NoThe user role. Account must have the read_only_users ability to set a user as a read_only_user or a read_only_limited_user, and must have advanced permissions abilities to set a user as observer or restricted_access.-
time_zone
string
NoThe preferred time zone name. If null, the account's time zone will be used.-

Outputs

NameDescription
userThe user that was created.