generate_api_key
Create a new API key for a support agent by ID, enabling programmatic access to LibreDesk. Requires the users:manage permission.
Instructions
Generate A P I Key
Requires the users:manage permission.
POST /api/v1/agents/{id}/api-key
Tags: Agents
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": "generate_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | (path parameter) |