laptop and a wrench

Bug

The user.disable() operation fails returning the error, "HTTP Error 404: Not Found" when using the ArcGIS API for Python against Portal for ArcGIS.

Last Published: August 20, 2019 ArcGIS API for Python
Bug ID Number BUG-000124463
SubmittedAugust 12, 2019
Last ModifiedJune 30, 2025
Applies toArcGIS API for Python
Version found1.6.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed1.8.0
StatusFixed

Workaround

For Portal for ArcGIS 10.7.1, create a list of the users to be disabled and running:

portal.users.disable_users(users_to_disable)

Steps to Reproduce

Bug ID: BUG-000124463

Software:

  • ArcGIS API for Python

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options