Call cPanel API's to grant access to a remote MySQL user from Kotlin
I want to call cPanel API's to grant access for a remote MySQL user, from Kotlin.
It is for a Register User functionality.
Basically I want from my Kotlin code to call cPanel API's to:
create that user on a remote MySQL database hosted on a VPS
set a password for that user
grant access to the database from everywhere
How can I please do that? I read cPanel documentation but is not very clear, for example I have:
<a href="https://api.docs.cpanel.net/openapi/cpanel/operation/Mysql-create_user/"...