# GDPR

### Delete User

The `deleteUsersPermanently` endpoint is used to **permanently delete all user data** from the Netmera system. This includes all associated events, attributes, and records for the specified user(s). Once deleted, the data cannot be recovered.

> This endpoint is only available to accounts with **data deletion access**, which must be requested through the Netmera panel.

#### Endpoint

```
POST /rest/3.0/deleteUsersPermanently
```

#### Request Headers

* `X-netmera-api-key`: Your REST API key
* `Content-Type`: `application/json`

#### Example Request

```json
curl -X POST https://restapi.netmera.com/rest/3.0/deleteUsersPermanently \
  -H "X-netmera-api-key: your_rest_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "extIds": [
      "123456"
    ]
  }'
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://user.netmera.com/netmera-developer-guide/api-documentation/rest-api/gdpr.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
