cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
491
Views
0
Helpful
1
Replies

Unable to update user attributes via API

B Cyr
Level 1
Level 1

I have registered an integration and use it to pull a list of all Webex accounts and cross reference that against HR to delete the account from Webex once the user is terminated.  Many of these accounts have a display name that is just an email address.  Or they will have entered their first and last name in all lowercase.   The script (Powershell) used to be able to update the first, last and display name for these users, but now I seem to be getting a 502 (Bad gateway) message when I try.  Also, there are occasions where I need to remove access immediately, but I do not want to remove the account until termination is official.  For that, I tried to set the loginEnabled property to false but that returns a 502 error as well.  I have the rights to disable and edit accounts using admin.webex.com, so I do not understand why I cannot do it with the API.

The steps I perform:

  1. I retrieve the user's information
  2. Alter the fields as needed
  3. Encode the body of the request
  4. Perform a PUT operation on people/<ID>

Happy to post code if needed.

1 Accepted Solution

Raffaele Lagana
Cisco Employee
Cisco Employee

This might be better off being discussed through a support ticket, looks like there is some analysis that needs to be performed on it. Can you create a ticket by emailing us at devsupport@webex.com?

Please also provide the full request and responses you're getting from the API. If you have tracking IDs please provide those too (found in the response Headers, if not returned in the response body), if not then please at least provide the user who's making the request and the Client ID of the integration used.

View solution in original post

1 Reply 1

Raffaele Lagana
Cisco Employee
Cisco Employee

This might be better off being discussed through a support ticket, looks like there is some analysis that needs to be performed on it. Can you create a ticket by emailing us at devsupport@webex.com?

Please also provide the full request and responses you're getting from the API. If you have tracking IDs please provide those too (found in the response Headers, if not returned in the response body), if not then please at least provide the user who's making the request and the Client ID of the integration used.