Confluence Server REST API

Through the Confluence Server REST API there is not a way to access which users are associated with a space or to remove a specific user from a space. Is there any way I can be able to automate these tasks for my script ?