# Delete feature

| **Description** | Delete or recover features of a vector layer.                   |
| --------------- | --------------------------------------------------------------- |
| **Endpoint**    | `/path/{pathId}/vector/timestamp/{timestampId}/feature/deleted` |
| **Method**      | PUT                                                             |

### Authorization Rules

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

### Processing Units

| **Minimum processing units** | 2 |
| ---------------------------- | - |

### Parameters

<table><thead><tr><th>Name</th><th width="409">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 for which to delete or recover features.</td><td>true</td><td></td></tr><tr><td><code>featureIds</code></td><td>An array of feature id's to delete/recover.</td><td>true</td><td></td></tr><tr><td><code>deleted</code></td><td>Boolean whether the the features should be deleted or recovered.</td><td>false</td><td>Default true.</td></tr></tbody></table>
