You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/06/10 15:01:36 UTC
[GitHub] akrabat opened a new issue #321: Cannot delete an API by name if
the name starts with /
akrabat opened a new issue #321: Cannot delete an API by name if the name starts with /
URL: https://github.com/apache/incubator-openwhisk-cli/issues/321
```
$ wsk api create /apigw GET apigw -n /apigw
ok: created API /apigw GET for action /_/apigw
$ wsk api list -f
ok: APIs
Action: /19FT_dev/apigw
API Name: /apigw
Base path: /
Path: /apigw
Verb: get
URL: https://service.eu.apiconnect.ibmcloud.com/gws/apigateway/api/2fbc3abd90af940c23779ab56f8863f05763e60eb3c364895f258b04a5d38be1/apigw
$ wsk api delete /apigw
error: Unable to delete API: API deletion failure: API '/apigw' does not exist.
```
Deleting with `wsk api delete /` works.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services