I have some questions about the API looking forward to help

I want to optimize my automated system.
That means having to use the API
I am looking to learn about the API list as follows:

Hello

Create and delete website are there

Create and delete database

Issue SSL

Today I am going to add CLI functions for managing users, what else do you need?

Edit website and database is not available from CyberPanel either.

Regards

Type your comment> @usmannasir said:

Hello

Create and delete website are there

https://docs.cyberpanel.net/doku.php?id=cli-create-website
https://docs.cyberpanel.net/doku.php?id=cli-delete-website

Create and delete database

https://docs.cyberpanel.net/doku.php?id=cli-create-database
https://docs.cyberpanel.net/doku.php?id=cli-delete-database

Issue SSL

https://docs.cyberpanel.net/doku.php?id=cli-issue-ssl

Today I am going to add CLI functions for managing users, what else do you need?

Edit website and database is not available from CyberPanel either.

Regards

Can you give me an example when combined with php?

For CLI commands that are mentioned above can be executed as it is from any programming language.

Type your comment> @usmannasir said:

CyberPanel API · Apiary

https://github.com/jetchirag/cyberpanel-whmcs/blob/master/api.php
https://github.com/jetchirag/cyberpanel-whmcs/blob/master/cyberpanel.php

For CLI commands that are mentioned above can be executed as it is from any programming language.

Thanks for your support
After researching, I found the appropriate solution. I use the phpseclib library to log into ssh and execute the cli directly on it!

Need user terminate feature over api. also force user terminate system which will delete all db, email account and everything during user account termination. currently if user has any website or we cant terminate that user. thus we have to manually remove them one by one then terminate the user.

Type your comment> @jobayer said:

Need user terminate feature over api. also force user terminate system which will delete all db, email account and everything during user account termination. currently if user has any website or we cant terminate that user. thus we have to manually remove them one by one then terminate the user.

Use the “phpseclib” library to implement CLI