Request the anonymization of an end user.
Dixa API (beta)
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/endusers/{userId}/anonymize
- https://dev.dixa.io/beta/endusers/{userId}/anonymize
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/endusers/{userId}/anonymize?force=false' \
-H 'Authorization: YOUR_API_KEY_HERE'The end user's anonymization request status
Replaced by _type field
Replaced by _type field
{ "data": { "id": "6bf55369-a670-4e6b-9f70-ecdb9913549f", "entityType": "UserAnonymizationType", "_type": "User", "initiatedAt": "2021-12-01T12:46:36.581Z[GMT]", "targetEntityId": "f28fafd6-2e42-4441-943c-388a8e0ef433", "requestedBy": "2b01e4c9-0c3a-47d4-9462-cd5a1a4687f5" } }
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/conversations/{conversationId}/anonymize
- https://dev.dixa.io/beta/conversations/{conversationId}/anonymize
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/conversations/{conversationId}/anonymize?force=false' \
-H 'Authorization: YOUR_API_KEY_HERE'The conversation's anonymization request status
Replaced by _type field
Replaced by _type field
{ "data": { "id": "87bac308-e49f-4134-84cc-96b868f1e1e4", "entityType": "ConversationAnonymizationType", "_type": "Conversation", "initiatedAt": "2021-12-01T12:46:36.581Z[GMT]", "targetEntityId": "10749", "requestedBy": "b165fdaa-51d6-44b0-bfcd-5f431d623fa7" } }
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/conversations/{conversationId}/messages/{messageId}/anonymize
- https://dev.dixa.io/beta/conversations/{conversationId}/messages/{messageId}/anonymize
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/conversations/{conversationId}/messages/{messageId}/anonymize' \
-H 'Authorization: YOUR_API_KEY_HERE'The message's anonymization request status
Replaced by _type field
Replaced by _type field
{ "data": { "id": "b165fdaa-51d6-44b0-bfcd-5f431d623fa7", "entityType": "MessageAnonymizationType", "_type": "Message", "initiatedAt": "2021-12-01T12:46:36.581Z[GMT]", "targetEntityId": "10749_1b9adc49-62f7-4056-a9c0-c18c1f25afdb", "requestedBy": "4c7af391-b7fd-4560-9d82-b3464eef8776" } }
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/anonymization/request/{requestId}
- https://dev.dixa.io/beta/anonymization/request/{requestId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/anonymization/request/{requestId}' \
-H 'Authorization: YOUR_API_KEY_HERE'The anonymization request
Replaced by _type field
Replaced by _type field
{ "data": { "id": "062f0b37-4de0-40f2-95a4-641435cb2869", "entityType": "UserAnonymizationType", "_type": "User", "initiatedAt": "2021-12-01T12:46:36.581Z[GMT]", "targetEntityId": "da9db703-4a7a-4f44-8a6a-c03b179b8ae2", "requestedBy": "bac5a02c-15b3-44da-ae1e-ab7b9db4aa89" } }
Request
Anonymize the requested entity (user or conversation). For a conversation to be successfully anonymized, it should be in the status closed. Otherwise, it requires forceAnonymization parameter set to true in the input body. NOTE: This endpoint is deprecated. Prefer using the anonymization endpoints of specific resources instead.
A request to anonymize an entity in the system (user or conversation).
- Mock serverhttps://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/anonymization
- https://dev.dixa.io/beta/anonymization
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.dixa.io/_mock/openapi/dixa-api/beta/beta/anonymization \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"entityId": "a53b25da-f676-4c52-acac-58c9280aa23d",
"_type": "User"
}'The anonymization request status
Replaced by _type field
Replaced by _type field
{ "data": { "id": "a53b25da-f676-4c52-acac-58c9280aa23d", "entityType": "UserAnonymizationType", "_type": "User", "initiatedAt": "2021-12-01T12:46:36.581Z[GMT]", "targetEntityId": "6292b720-9dbd-4ff7-8942-f4e917cc1520", "requestedBy": "062f0b37-4de0-40f2-95a4-641435cb2869" } }