Mixduty v0.1.0 Mixduty.Users View Source
PagerDuty users are members of a PagerDuty account that have the ability to interact with incidents and other data on the account.
Users are fundamental agents of different types of actions in PagerDuty. A user can, among other things:
- acknowlege, reassign, snooze, escalate, and resolve incidents
- configure services, escalation policies, integrations, on-call schedules, teams, and more
- go on call for one or more schedules or escalation policies
- receive notifications
Depending on a user’s role, he or she may have access to different parts of the account’s data.
Link to this section Summary
Functions
Create a new user
Example
Mixduty.Users.create("Test User", "test@user.com", client)
List users of an account
Example
Mixduty.Users.list(client)
Delete an existing user
Example
Mixduty.Users.delete("P00PBUG", client)
Update an existing user object
Example
Mixduty.Users.update("P00PBUG", %{name: "Test User"}, client)
Get a users of an account
Example
Mixduty.Users.user("P00PBUG", client)
Link to this section Functions
Create a new user
Example
Mixduty.Users.create("Test User", "test@user.com", client)
List users of an account
Example
Mixduty.Users.list(client)
Delete an existing user
Example
Mixduty.Users.delete("P00PBUG", client)
Update an existing user object
Example
Mixduty.Users.update("P00PBUG", %{name: "Test User"}, client)
Get a users of an account
Example
Mixduty.Users.user("P00PBUG", client)