/users/{user_id}Update user
Updates a managed or app user in an enterprise. This endpoint is only available to users and applications with the right admin permissions.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
A 400 is returned: Returns an error if some of the parameters are missing or not valid.
-
invalid_parameterwhen a parameter is formatted incorrectly, for example when thenotification_emailhas an incorrectly formatted email address. A 403 is returned: Returns an error if the user is not allowed to make the changes. -
access_denied_insufficient_permissionswhen the user does not have the right permissions, for example when updating the notification email is turned off for the enterprise. -
denied_by_policywhen the user does not have the right permissions due to the information barrier restrictions. Any other status is an error: An unexpected client error.