I have created a Python script to add or delete administrators using the API.
This was created using the Python library in this post Python library for using the management APIs
Download the Python library from the link above.
Extract the Python library and manageAdmins.zip
Tested on R80 API 1.0