Create a User based on the provided details.
Security
api_key
Role of the user
Enum:"CLIENT_VIEWER""CLIENT_OPERATOR""CLIENT_DEPARTMENT_ADMIN""CLIENT_ADMIN"
- Mock serverhttps://doc.acc.connect.easypost.eu/_mock/public-api/openapi/users
- https://api.acc.connect.easypost.euhttps://api.acc.connect.easypost.eu/users
curl -i -X POST \
https://doc.acc.connect.easypost.eu/_mock/public-api/openapi/users \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-H 'x-managed-company-id: string' \
-d '{
"username": "string",
"role": "CLIENT_VIEWER",
"departments": [
"string"
],
"firstName": "string",
"lastName": "string",
"preferredLanguage": "EN",
"emailAddress": "user@example.com",
"enabled": true,
"hasQERDSMandate": true
}'Role of the user
Enum:"CLIENT_VIEWER""CLIENT_OPERATOR""CLIENT_DEPARTMENT_ADMIN""CLIENT_ADMIN"
Response
{ "id": "string", "companyId": "string", "username": "string", "role": "CLIENT_VIEWER", "departments": [ "string" ], "firstName": "string", "lastName": "string", "preferredLanguage": "EN", "emailAddress": "user@example.com", "hasMFALoginEnabled": true, "hasQERDSMandate": true, "enabled": true, "createdAt": "string", "lastModifiedAt": "string", "lastModifiedBy": "string" }