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

# Delete Automation Run

> Delete a run and its execution state

## Endpoint

```bash theme={null}
POST https://api.ugc.inc/automations/delete-run
```

## Request Body

<ParamField body="runId" type="string" required>
  Run ID to delete.
</ParamField>

## Response

<ResponseField name="data" type="null">
  Returns `null` on success.
</ResponseField>

## TypeScript

```typescript theme={null}
const res = await client.automations.deleteRun({ runId: 'run_123' });
```
