Skip to content

pagerduty delete-team-user

Delete member to a team in your pagerduty account.

Description

Delete user to the team of given ID.

Synopsis

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

Arguments

site - (string)

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

id - (string)

     The ID of the team
     Example: --id "PQ9K7I8"
     Default: _None_      Attributes: required

user_id - (string)

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

Examples

pagerduty delete-team-user --id "PQ9K7I8" --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 "team"
Object ID

Please see Access Control for details.