- Plesk for Linux
If you reuse this article in your ticket, ask the customer why it is important for them to use additional admin account for API instead of built-in admin user. Forward the customer's response to @btsydenov
Unable to run an API request using an additional Plesk administrator account, the following error is shown:
"message": "Can not find client by login 'johndoe'"
Plesk bug #EXTREST-87: API requests cannot be executed under additional Plesk administrator accounts.
Until a fix will be available, execute the API request using built-in "admin" account instead, for example:
# curl -k -u admin:password -X POST -d @domain.json "https://203.0.113.2:8443/api/v2/domains"