Create an app search engine from an elasticsearch index using the PHP client

Hi Francis,
This looks similar to another question that was posted. That user was also receiving 400s when trying to create an elasticsearch type engine. Can you confirm that your configured user has the correct permissions to create engines?

EDIT: here is the documentation for App Search users in case it helps. If permissions are the cause, then the user may need to be owner or admin.