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

# Delete Help Desk Comment

> Deletes a comment from a help desk message thread.

# Delete Help Desk Comment

Removes a specific comment from a help desk message thread. Only the comment author can delete their own comments.

## Authentication

Requires a valid customer bearer token.

## Path Parameters

<ParamField path="messageId" type="number" required>
  Numeric identifier of the help desk message.
</ParamField>

<ParamField path="commentId" type="number" required>
  Numeric identifier of the comment to delete.
</ParamField>

## Response

Returns a `200 OK` on success.

## Examples

### Delete a comment

```http theme={null}
DELETE /api/public/helpdesk/messages/501/comments/42
Authorization: Bearer {token}
```

```
HTTP/1.1 200 OK
```

## TypeScript Integration

```typescript theme={null}
import endpoints from '@/api/endpoints'

await httpClient.delete(endpoints.helpDesk.comments.delete(501, 42))
```
