## DeletePrompt `client.agents.deletePrompt(AgentDeletePromptParamsbody, RequestOptionsoptions?): AgentDeletePromptResponse` **post** `/gitpod.v1.AgentService/DeletePrompt` Deletes a prompt. Use this method to: - Remove unused prompts ### Parameters - `body: AgentDeletePromptParams` - `promptId?: string` ### Returns - `AgentDeletePromptResponse = unknown` ### Example ```typescript import Gitpod from '@gitpod/sdk'; const client = new Gitpod({ bearerToken: process.env['GITPOD_API_KEY'], // This is the default and can be omitted }); const response = await client.agents.deletePrompt(); console.log(response); ``` #### Response ```json {} ```