This API removes all access to the specified folder because it deletes the user from all roles.
This method requires authentication.
To remove a user or group from an access role, the currently authenticated user must be either: the owner of the folder, an administrator, or a user who has received appropriate permission on the folder through the Manager access role. To test whether the current user can remove a user or group from a role, use the API for Retrieving the list of members for a folder's role to see if the user belongs to the Manager Role.
The following error codes could appear in a response body for an invalid request:
||Returned when the cause of an error is unknown
||Returned when the cause of an error is due to a permission restriction
||Returned when the cause of an error is related to a resource not being found