Skip to main content
Glama

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
NameRequiredDescriptionDefault
application_idYesThe application id to delete the api key for.
api_key_nameYesThe name of the api key to delete.
organization_idYesThe organization id to delete the api key for.
project_idYesThe project id to delete the api key for.

Implementation Reference

  • 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,
    };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aptos-labs/aptos-npm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server