Example of using the MikroTik API to log out a hotspot user

Does anyone have an example of using the MikroTik API to log out a hotspot user?