# Delete message

| Description     | Deletes or recovers a message.                                                      |
| --------------- | ----------------------------------------------------------------------------------- |
| **Description** | Deletes or recovers a message.                                                      |
| **Endpoint**    | `/path/{pathId}/vector/timestamp/{timestampId}/feature/message/{messageId}/deleted` |
| **Method**      | PUT                                                                                 |

### Access Level Rules

| **Access Level** | edit+ or owner of the feature |
| ---------------- | ----------------------------- |

### Processing Units

| **Processing units** | 3 |
| -------------------- | - |

### Parameters

<table><thead><tr><th>Name</th><th width="331">Description</th><th>Required</th><th>Default</th></tr></thead><tbody><tr><td><code>pathId</code></td><td>The id of the vector layer.</td><td>true</td><td></td></tr><tr><td><code>timestampId</code></td><td>The id of the timestamp.</td><td>true</td><td></td></tr><tr><td><code>messageId</code></td><td>The id of the message to delete.</td><td>true</td><td></td></tr><tr><td><code>deleted</code></td><td>Boolean whether the series should be deleted or recovered.</td><td>false</td><td>Default true.</td></tr></tbody></table>
