name: agentuity-cli-cloud-apikey-delete description: 删除API密钥(软删除)。需要身份验证。用于Agentuity云平台操作 version: “0.0.103” license: Apache-2.0 allowed-tools: “Bash(agentuity:*)” argument-hint: “<id>” metadata: command: “agentuity cloud apikey delete” tags: “destructive deletes-resource slow requires-auth”
云平台API密钥删除
删除API密钥(软删除)
前提条件
- 已通过
agentuity auth login完成身份验证
使用方法
agentuity cloud apikey delete <id>
参数
| 参数 | 类型 | 是否必需 | 描述 |
|---|---|---|---|
<id> |
字符串 | 是 | - |
示例
删除项目:
bunx @agentuity/cli cloud apikey delete <id>
运行<id>命令:
bunx @agentuity/cli cloud apikey del <id>
删除项目:
bunx @agentuity/cli cloud apikey rm <id>
输出
返回JSON对象:
{
"success": "boolean",
"id": "string"
}
| 字段 | 类型 | 描述 |
|---|---|---|
success |
布尔值 | 操作是否成功 |
id |
字符串 | 被删除的API密钥ID |