# Delete audit log sink

Soft-deletes the audit log sink.

Required permission: Account > Admin > AuditLogSinks > Delete

**Path parameters:**

{object}
- `sinkId`: (string) (required) ID of the audit log sink

**Response body:**

{object}
- `data`: {object}

## API reference

DELETE /v1/integrations/audit-log-sinks/{sinkId}

DELETE /v1/teams/{teamId}/integrations/audit-log-sinks/{sinkId}

### Example Response

200 OK: The operation was performed successfully.

```json
{
  "data": {}
}
```

## CLI reference

$ northflank delete audit-log-sink

Options:

- `--sinkId <sinkId>`: ID of the audit log sink

- `--verbose `: Verbose output

- `--quiet `: No console output

- `--force `: Don't ask for confirmation

- `-o --output <format>`: Output formatting 

### Example Response

 The operation was performed successfully.

```json
{}
```

## JavaScript client reference

### Example request



```javascript
await apiClient.delete.auditLogSink({
  parameters: {
    "sinkId": "compliance-bucket"
  }
});
```

### Example Response

 The operation was performed successfully.

```json
{
  "data": {},
  "rawResponse": "...",
  "request": "...",
  "error": "..."
}
```

Previous: [Patch audit log sink](/docs/v1/api/org/integrations/patch-audit-log-sink)

Next: [Pause audit log sink](/docs/v1/api/org/integrations/pause-audit-log-sink)