# veryfront__update_api_key

Change an API key's name or expiry.

Risk: credential\_bearing.

## Arguments

| Name         | Type        | Required | Description                          |
| ------------ | ----------- | -------- | ------------------------------------ |
| `name`       | string      |          | New name for the API key             |
| `expires_at` | string,null |          | New expiration date (null to remove) |
| `api_key_id` | string      | Yes      | API key ID                           |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__update_api_key",
    "arguments": {
      "api_key_id": "<api_key_id>"
    }
  }
}
```
