zend-patterns / ZendServerSDK

Pure ZF2 CLI for zpk creation and webapi client.
BSD 3-Clause "New" or "Revised" License
22 stars 17 forks source link

Error thrown on apiKeysRemoveKey #100

Closed waterloomatt closed 2 years ago

waterloomatt commented 3 years ago

Running php /bin/zs-client.phar apiKeysRemoveKey --ids="3" --target=localhost results in Could not match to a controller

root@lhorizon:/bin# php /bin/zs-client.phar apiKeysRemoveKey --ids="3" --target=localhost ZendServerWebApi Client version 1.2 Zend Server Client v1.0


ZendServerWebApi

  • apiKeysRemoveKey --ids= [--target=] [--zsurl=] [--zskey=] [--zssecret=] [--zsversion=] [--http=] [--output-format=]

Remove a WebAPI Key. --ids Id of the key --output-format Output format. Default is "xml", but you can use json or kv(for key-value)


Reason for failure: Could not match to a controller

slaff commented 3 years ago

@waterloomatt Can you provide the version of Zend Server that you are using ?

waterloomatt commented 3 years ago

PHP Version 7.3.27 Zend Server Version: 2019.0.7 Build: 125795