Skip to content
Command line tool to deprovision PagerDuty users
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Removing log files Dec 1, 2016
LICENSE Added REST API class Sep 15, 2016 Adding logic to resolve open incidents Mar 7, 2017

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.


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

./ --access-token ENTER_PD_ACCESS_TOKEN --user-email --from-email

-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


Luke Epp


Luke Epp

You can’t perform that action at this time.