apig__ResettingAppSecretV2
Resets the secret for a specified API Gateway app, enabling credential rotation after exposure or scheduled security updates.
Instructions
[APIG] 重置指定APP的密钥。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app_id": "<app_id>",
"instance_id": "<instance_id>",
"project_id": "<project_id>"
},
"name": "apig__ResettingAppSecretV2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | 应用编号 | |
| app_secret | No | 密钥。支持英文,数字,“_”,“-”,“!”,“@”,“#”,“$”,“%”,且只能以英文或数字开头,8 ~ 128个字符。用户自定义APP的密钥需要开启配额开关。 | |
| project_id | Yes | 项目ID,获取方式请参见[获取项目ID](apig-api-180713009.xml)。 | |
| instance_id | Yes | 实例ID,在API网关控制台的“实例信息”中获取。 |