veryfront__update_api_key
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Can read or manage credentials.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
name | string | No | New name for the API key |
expires_at | string or null | No | New expiration date (null to remove) |
api_key_id | string | Yes | API key ID |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__update_api_key",7 "arguments": {8 "api_key_id": "example"9 }10 }11}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
id | string | Yes | Unique identifier for the returned record. |
project_id | string or null | Yes | Project identifier associated with this result. |
user_id | string | Yes | |
name | string | Yes | Human-readable name for the returned record. |
key_prefix | string | Yes | |
last_used_at | string or null | Yes | |
expires_at | string or null | Yes | |
created_at | string | Yes | Creation timestamp in ISO 8601 format. |
updated_at | string | Yes | Last update timestamp in ISO 8601 format. |
status | string | Yes | Whether the key can authenticate. A revoked key stays listed with status revoked. Values: "active", "expired", "revoked". |
revoked_at | string or null | Yes | When the key was revoked; null while it is not revoked. |
scopes | string[] | Yes | List of scopes associated with this tool result. |
scope | string | Yes | Whether the key is bound to one project (project) or applies to the account (account). Values: "account", "project". |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "name": {5 "type": "string",6 "description": "New name for the API key"7 },8 "expires_at": {9 "type": [10 "string",11 "null"12 ],13 "description": "New expiration date (null to remove)"14 },15 "api_key_id": {16 "type": "string",17 "description": "API key ID"18 }19 },20 "required": [21 "api_key_id"22 ],23 "additionalProperties": false,24 "description": "Arguments for the update_api_key tool.",25 "$schema": "http://json-schema.org/draft-07/schema#"26}output-schema.json
1{2 "type": "object",3 "properties": {4 "id": {5 "type": "string",6 "description": "Unique identifier for the returned record."7 },8 "project_id": {9 "type": [10 "string",11 "null"12 ],13 "description": "Project identifier associated with this result."14 },15 "user_id": {16 "type": "string"17 },18 "name": {19 "type": "string",20 "description": "Human-readable name for the returned record."21 },22 "key_prefix": {23 "type": "string"24 },25 "last_used_at": {26 "type": [27 "string",28 "null"29 ]30 },31 "expires_at": {32 "type": [33 "string",34 "null"35 ]36 },37 "created_at": {38 "type": "string",39 "description": "Creation timestamp in ISO 8601 format."40 },41 "updated_at": {42 "type": "string",43 "description": "Last update timestamp in ISO 8601 format."44 },45 "status": {46 "type": "string",47 "enum": [48 "active",49 "expired",50 "revoked"51 ],52 "description": "Whether the key can authenticate. A revoked key stays listed with status revoked."53 },54 "revoked_at": {55 "type": [56 "string",57 "null"58 ],59 "description": "When the key was revoked; null while it is not revoked."60 },61 "scopes": {62 "type": "array",63 "items": {64 "type": "string"65 },66 "description": "List of scopes associated with this tool result."67 },68 "scope": {69 "type": "string",70 "enum": [71 "account",72 "project"73 ],74 "description": "Whether the key is bound to one project (project) or applies to the account (account)."75 }76 },77 "required": [78 "id",79 "project_id",80 "user_id",81 "name",82 "key_prefix",83 "last_used_at",84 "expires_at",85 "created_at",86 "updated_at",87 "status",88 "revoked_at",89 "scopes",90 "scope"91 ],92 "additionalProperties": false,93 "description": "Structured result returned by the update_api_key tool.",94 "$schema": "http://json-schema.org/draft-07/schema#"95}