Delete API Key
deleteAPIKeyPermanently deletes an Uptime Kuma API key so any service still using it is denied access. Use listAPIKeys to find the key ID first.
Instructions
Permanently deletes an API key: anything still using it is refused from then on. To switch it off but keep it, use setAPIKeyActive. Find the ID with listAPIKeys.
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": {
"keyID": "<keyID>"
},
"name": "deleteAPIKey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyID | Yes | The ID of the API key to delete |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| msg | No |