> ## Documentation Index
> Fetch the complete documentation index at: https://docs.galileo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# deletePrompt

***

# Function: deletePrompt()

```ts theme={null}
function deletePrompt(options: DeletePromptOptions): Promise<void>;
```

Defined in: [src/utils/prompt-templates.ts](https://github.com/rungalileo/galileo-js/blob/main/src/utils/prompt-templates.ts)

Deletes a prompt template.

## Parameters

### options

[`DeletePromptOptions`](/sdk-api/typescript/reference/types/type-aliases/DeletePromptOptions)

Delete options containing the template identifier.

## Returns

`Promise`\<`void`>

A promise that resolves when the template is removed.
