Skip to main content

users

Overview

Nameusers
TypeResource
Idpagerduty.users.users

Fields

NameDatatypeDescription
idstring
namestringThe name of the user.
descriptionstringThe user's bio.
_typestringThe type of object being created.
avatar_urlstringThe URL of the user's avatar.
colorstringThe schedule color.
contact_methodsarrayThe list of contact methods for the user.
emailstringThe user's email address.
html_urlstringa URL at which the entity is uniquely displayed in the Web app
invitation_sentbooleanIf true, the user has an outstanding invitation.
job_titlestringThe user's title.
licenseobjectThe License assigned to the User
notification_rulesarrayThe list of notification rules for the user.
rolestringThe 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.
selfstringthe API show URL at which the object is accessible
summarystringA short-form, server-generated string that provides succinct, important information about an object suitable for primary labeling of an entity in a client. In many cases, this will be identical to name, though it is not intended to be an identifier.
teamsarrayThe list of teams to which the user belongs. Account must have the teams ability to set this.
time_zonestringThe preferred time zone name. If null, the account's time zone will be used.
typestringA string that determines the schema of the object. This must be the standard name for the entity, suffixed by _reference if the object is a reference.

Methods

NameAccessible byRequired ParamsDescription
get_userSELECTidGet details about an existing user.

Users are members of a PagerDuty account that have the ability to interact with Incidents and other data on the account.

For more information see the API Concepts Document

Scoped OAuth requires: users.read
list_usersSELECTList users of your PagerDuty account, optionally filtered by a search query.

Users are members of a PagerDuty account that have the ability to interact with Incidents and other data on the account.

For more information see the API Concepts Document

Scoped OAuth requires: users.read
create_userINSERTFrom, data__userCreate a new user.

Users are members of a PagerDuty account that have the ability to interact with Incidents and other data on the account.

For more information see the API Concepts Document

Scoped OAuth requires: users.write
delete_userDELETEidRemove an existing user.

Returns 400 if the user has assigned incidents unless your pricing plan has the offboarding feature and the account is configured appropriately.

Note that the incidents reassignment process is asynchronous and has no guarantee to complete before the api call return.

Learn more about offboarding feature.

Users are members of a PagerDuty account that have the ability to interact with Incidents and other data on the account.

For more information see the API Concepts Document

Scoped OAuth requires: users.write
_get_userEXECidGet details about an existing user.

Users are members of a PagerDuty account that have the ability to interact with Incidents and other data on the account.

For more information see the API Concepts Document

Scoped OAuth requires: users.read
_list_usersEXECList users of your PagerDuty account, optionally filtered by a search query.

Users are members of a PagerDuty account that have the ability to interact with Incidents and other data on the account.

For more information see the API Concepts Document

Scoped OAuth requires: users.read
update_userEXECid, data__userUpdate an existing user.

Users are members of a PagerDuty account that have the ability to interact with Incidents and other data on the account.

For more information see the API Concepts Document

Scoped OAuth requires: users.write