Skip to content

pagerduty delete-user

Removes user from your PagerDuty account.

Description

Removes user from your PagerDuty account.

Synopsis

pagerduty delete-user
    --site <site>
    --user_id <user_id>

Arguments

site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default: input.site      Attributes: required

user_id - (string)

     The ID of the user.
     Example: --user_id "PAGNO81"
     Default: _None_      Attributes: required

Examples

pagerduty delete-user --user_id "PAGNO81"

Access Control

To use this command, you need access to the following:

Field Value
Action "delete"
Service Type "pagerduty"
Service Instance
Namespace
Object Type "users"
Object ID

Please see Access Control for details.