Skip to content

lfepp/pd_user_deprovision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PagerDuty User De-Provision

Python script to de-provision a user in PagerDuty including removing them from all schedules, escalation policies, and teams that they are a part of. The affected resources are logged and printed to the console.

Usage

This script is meant to be used as a command line tool with the following arguments:

./user_deprovision.py --access-token ENTER_PD_ACCESS_TOKEN --user-email [email protected] --from-email [email protected]

-a, --access-token: A valid PagerDuty v2 REST API access token from your account

-u, --user-email: The PagerDuty email address for the user you want to delete from your account

-f, --from-header: The PagerDuty email address of the user that is requesting the deletion

Author

Luke Epp [email protected]

Maintainer

Luke Epp [email protected]

About

Command line tool to deprovision PagerDuty users

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages