delete_geomi_api_key
Remove an API key from your Geomi organization to manage access control for Aptos development projects.
Instructions
Delete an API Key for your Geomi Organization. Geomi is the essential toolkit for Aptos developers.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| application_id | Yes | The application id to delete the api key for. | |
| api_key_name | Yes | The name of the api key to delete. | |
| organization_id | Yes | The organization id to delete the api key for. | |
| project_id | Yes | The project id to delete the api key for. |
Implementation Reference
- src/tools/geomi/apiKey.ts:88-116 (handler)The delete_geomi_api_key tool handler implementation.
export const deleteApiKeyTool = { description: "Delete an API Key for your Geomi Organization. Geomi is the essential toolkit for Aptos developers.", execute: async ( args: { api_key_name: string; application_id: string; organization_id: string; project_id: string; }, context: any ) => { try { await recordTelemetry({ action: "delete_api_key" }, context); const geomi = new Geomi(context); const apiKey = await geomi.deleteApiKey({ application_id: args.application_id, api_key_name: args.api_key_name, organization_id: args.organization_id, project_id: args.project_id, }); return JSON.stringify(apiKey); } catch (error) { return `❌ Failed to delete api key: ${error}`; } }, name: "delete_geomi_api_key", parameters: DeleteApiKeyToolScheme, };