SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

How to Delete Users from a Segment Workspace Using the API

Objective

This article explains how to remove users from your Segment workspace using the Delete User API. If users are not removed via the Access Management UI, you can use the Segment APIs to ensure users are deleted and confirm their removal.

 

Product

Twilio Segment

 

Environment

Segment Console

 

User Account Permission/Role(s) Required 

The access token used should have Workspace Owner permission required to access user management APIs.

 

Procedure 

  1. Retrieve User IDs:
    • Use the List Users API to get the current list of users in your workspace.
    • Note the user IDs for the users you wish to remove.
  2. Delete Users:
    • Use the Delete User API.
    • Pass the user ID(s) as a query parameter in your request to specify which users to delete.
  3. Verify Removal:
    • After deletion, call the List Users API again to confirm the users no longer appear in the workspace.
    • You can also check the workspace audit trail for records of the deletion.

 

Additional Information 

  • All actions performed via API are logged in the workspace audit trail for transparency.
  • If users still appear after deletion, contact Segment support or escalate to engineering.
Have more questions? Submit a request
Powered by Zendesk