Do exist api in order to disable an user?

hosting

#1

do exist api in order to disable an user?
thanks


#2

It is not documented in here https://doc.owncloud.org/server/latest/admin_manual/configuration/user/user_provisioning_api.html,
but I checked the provisioning api, we have a route for disabling user https://github.com/owncloud/core/blob/master/apps/provisioning_api/appinfo/routes.php#L50. Check the usage of the api from the provisioning api documentation (first link), after that, try the route that I gave (second link). Probably, it will work.

Also, it will be useful, if you open an issue for the missing documentation in the documentation repo of ownCloud. https://github.com/owncloud/documentation


#3

yes, it work fine, thanks