

# DeleteMessage (Publish)


Instructs other clients to delete a message.

## Required Capability


`DELETE_MESSAGE`

## Format


```
{
  "Action": "DELETE_MESSAGE",
  "Id": "string",
  "Reason": "string",
  "RequestId": "string"
}
```

## Fields



| Field | Required | Description | 
| --- | --- | --- | 
| `Action` | Yes | `DELETE_MESSAGE` | 
| `Id` | Yes | ID of the message to be deleted. This is the Id field in the received message (see [Message (Subscribe)](actions-message-subscribe.md)). | 
|  `Reason`  | No | Reason for deleting the message. | 
| `RequestId` | No | An optional identifier specified by your application for tracking purposes. If specified, this appears in corresponding subscribe operations. | 