library
turbot/pagerduty
Get Involved
Version
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
Name | Type | Required | Description | Default |
---|---|---|---|---|
cred | string | Yes | Name for credentials to use. If not provided, the default credentials will be used. | default |
string | Yes | The user's email address. | - | |
name | string | Yes | The name of the user. | - |
color | string | No | The schedule color. | - |
description | string | No | The user's bio. | - |
job_title | string | No | The user's title. | - |
license | { id = string type = string } | No | The License assigned to the user. | - |
role | string | No | The 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 | No | The preferred time zone name. If null, the account's time zone will be used. | - |
Outputs
Name | Description |
---|---|
user | The user that was created. |