post https://example.com/ServerManage/SetAccountPermissions
You must be a system administrator or have 'Grant' permission on the account or have global 'Grant' permission on accounts.
Grants.Rights: Permissions: Owner, Naked, Login, Manage, Delete, UpdatePassword, UserPortalLogin, RotatePassword, View, FileTransfer, None (to remove rights and user)