Legacy Dev Forum Posts

 View Only

Sign Up

Removal of Agent through APIs

  • 1.  Removal of Agent through APIs

    Posted 06-05-2025 19:20

    Austin_Engle | 2019-08-26 18:07:39 UTC | #1

    I am trying to automate the lifecycle of user accounts in PureCloud and am focusing on the termination portion right now. I have looked at some of the API calls and have found the remove roles and delete user based on the UserID found in PureCloud but I was wondering the following;

    •Is there a way to find the UserID based on a user email? Or can you delete based on the email? •Is there a way to remove all information from the "Person Details" page of a user account such as relationships and Contact Information?

    Any help is appreciated.


    anon28066628 | 2019-08-27 15:33:35 UTC | #2

    This resource can search users by email address:

    POST /api/v2/users/search

    // sample request
    {
       "sortOrder": "ASC",
       "query": [
          {
             "fields": ["email"],
             "value": "email@domain.com",
             "type": "EXACT"
          }
       ]
    }

    system | 2019-09-27 15:33:38 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 5879