Easymailing
Privacy

Create a data manager

POST /data_managers

POST/data_managers

Adds a person or company as responsible for personal data, with a contact email.

When to use: When an audience needs a data manager in its privacy settings and none matches.

When not to use: To change an existing one use update_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

Request Body

The new DataManager resource

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://api.easymailing.com/data_managers" \  -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"}