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

Link to this function create(name, email, client) View Source

Create a new user

Example

Mixduty.Users.create("Test User", "test@user.com", client)
Link to this function list(client, params \\ [], options \\ []) View Source

List users of an account

Example

Mixduty.Users.list(client)

Delete an existing user

Example

Mixduty.Users.delete("P00PBUG", client)
Link to this function update(id, user_object, client) View Source

Update an existing user object

Example

Mixduty.Users.update("P00PBUG", %{name: "Test User"}, client)
Link to this function user(id, client, params \\ [], options \\ []) View Source

Get a users of an account

Example

Mixduty.Users.user("P00PBUG", client)