Easymailing
Privacy

Update a data manager

PUT /data_managers/{uuid}

PUT/data_managers/{uuid}

Changes the name or contact email of a data manager.

When to use: When the company name or the privacy contact changes.

When not to use: To add a new one use create_data_manager.

Permissions: Requires the manager role or higher, or the account.security.manage capability.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

uuid*string

UUID of the data manager. Get it with list_data_managers.

Request Body

The updated DataManager resource

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PUT "https://api.easymailing.com/data_managers/a6c3e812-4f09-4d57-b1a8-35e7d9c2f640" \  -H "X-Auth-Token: YOUR_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "email": "user@example.com"  }'
{  "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",  "name": "string",  "email": "user@example.com"}