Home / Directory / Apollo GraphOS / RenameApiKey
RenameApiKey
An MCP tool from the Apollo GraphOS server, run by Apollo.
Rename an API key in an organization, the same write that `rover api-key rename` performs. The key value and its access do not change. Returns the key's ID and new name. Provide the organization ID, the key ID, which GetApiKeys returns, and the new name.
Name on the gateway: apollo_graphos__RenameApiKey.
Parameters
| Name | Type | Description |
|---|---|---|
organizationId required | string | |
keyId required | string | |
name required | string |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "apollo_graphos__RenameApiKey",
"arguments": {
"organizationId": "…",
"keyId": "…",
"name": "…"
}
}The first call connects Apollo GraphOS to your account automatically; nothing to set up. About this server.
Try asking
Use the renameapikey tool with organizationId set to ….