Deactivate User Accounts

Number of APIs: 1

Overview

This collection uses Qodex's Collection Runner to iterate over a CSV data file containing a list of inactive users. The request within will deactivate each user in the list via Qodex's SCIM API.

Setup

  1. A SCIM API key must be generated and added to the apiKey [collection variable] Turn SCIM provisioning on if it is not already enabled.
  2. Retrieve a CSV from your Qodex CSM containing a list of inactive users. This CSV file must contain a column headed email.
  3. [Run the collection] with the provided CSV. It is recommended to use a 1000ms delay to prevent rate limiting.

Upon completion of the collection run, all inactive users will have been deactivated. You can verify a reduction in your active user list at the Members page.

  1. Deactivate a user PATCH https://api.getpostman.com/scim/v2/Users/{{userId}}