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

# Close Help Desk Message

> Closes an open help desk support ticket.

# Close Help Desk Message

Marks a help desk message as closed. Only the ticket author can close their own tickets.

## Authentication

Requires a valid customer bearer token.

## Path Parameters

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

## Request Body

No request body required.

## Response

Returns a `200 OK` on success.

## Examples

### Close a ticket

```http theme={null}
PUT /api/public/helpdesk/messages/501/close
Authorization: Bearer {token}
```

```
HTTP/1.1 200 OK
```

## TypeScript Integration

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

await httpClient.put(endpoints.helpDesk.close(501))
```
