> ## 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.

# deleteScorer

***

# Function: deleteScorer()

```ts theme={null}
function deleteScorer(scorerId: string): Promise<DeleteScorerResponse>;
```

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

Deletes a scorer by its unique identifier.

## Parameters

### scorerId

`string`

The unique identifier of the scorer to delete.

## Returns

`Promise`\<[`DeleteScorerResponse`](/sdk-api/typescript/reference/types/type-aliases/DeleteScorerResponse)>

A promise that resolves to a response containing a success message.
