Update an API key
immich_update_api_keyChange an API key's name or permissions by ID. Use to update access rights for a key you own.
Instructions
Update an API key
Updates the name and permissions of an API key by its ID. The current user must own this API key.
Immich operation: PUT /api-keys/{id} · tag: API keys
DEPRECATED — prefer the replacement operation if one exists.
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": {
"id": "<id>"
},
"name": "immich_update_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | format: uuid | |
| name | No | name (request body) | |
| permissions | No | permissions (request body) |