electronic clicks

electronic clicks

Planned

Please Add this as soon as possible because we was planing to creating databases and users of database via api we are giving services that must need this option.

Here Is Explanation of what i tried already.

I’m trying to create a database using the Ploi API. When I create a new database with a new user, everything works as expected — the database is created, the user is created, and the user is assigned to the database.

However, when I try to assign an existing user to a new database, it doesn’t seem to work as expected. The API only creates the database but does not assign the existing user to it. I’ve tried sending the request both with and without the password.

I also tested with this endpoint: POST https://ploi.io/api/servers/{serverId}/databases/{databaseId}/users

But instead of assigning the existing user, it creates a new user with the same name and password. I believe this might be a bug, since it should ideally just link the existing user instead of duplicating it.

Could you please confirm if this is expected behavior or if there’s a workaround for assigning an existing user to a new database?

Thank you!

It is not possible to assign an existing user to a database via the API. This functionality is currently only available through the panel.

1 total vote
electronic clicks
  • Dennis moved item to board Planned

    1 week ago
  • electronic clicks moved item to project API Level Requests

    1 week ago
  • electronic clicks created the item

    1 week ago