Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ecs DeleteKeyPairs --KeyPairNames returns "KeyPairNames is not valid" #31

Closed
RockfordWei opened this issue Jul 25, 2017 · 0 comments
Closed

Comments

@RockfordWei
Copy link

钥匙用CreateKeyPair命令创建以后无法用DeleteKeyPairs命令删除,目前只能到网页控制台中删除。这是新加的功能吗?

$ aliyuncli ecs DeleteKeyPairs --KeyPairNames key1
{
    "Message": "The specified parameter \"KeyPairNames\" is not valid.", 
    "Code": "InvalidKeyPairNames.ValueNotSupported"
}
Detail of Server Exception:

HTTP Status: 400 Error

尝试了 'key1' 、"key1" 、{"key1"} 、["key1"],统统不行。:-(

另外,openapi有C语言、OC或者Swift版本的吗?从程序里调用命令行的太费劲儿了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant