light-mode-image
Learn
MATTR VII ManagementMachine users

Create machine user

Creates a "MachineUser" that can only be used for M2M authentication. A machine user is functionally an independent user. It is not tied to any "PersonUser" and cannot perform username & password authentication.

Analytics Events

ADMIN_MACHINE_USER_CREATE_STARTADMIN_MACHINE_USER_CREATE_SUCCESSADMIN_MACHINE_USER_CREATE_FAIL
POST/admin/v1/machine-users
AuthorizationBearer <token>

In: header

namestring

Response Body

curl -X POST "https://manage.mattr.global/admin/v1/machine-users" \  -H "Content-Type: application/json" \  -d '{    "name": "Machine User 01"  }'
{
  "id": "70bb433a-f0ec-4297-ad76-3b09c71311f3",
  "name": "Machine User 01",
  "clientId": "bXcR0BhjpuaY5Qz1vlvABW0bQ1IXH8Gg",
  "clientSecret": "G5by8smAAB-YrROLnMEFx-aSkjBGmeQkdEDm-yj-G5by8smAAB-YrzTSExDpV6OudA"
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "value": "string",
      "msg": "Invalid value",
      "param": "id",
      "location": "body"
    }
  ]
}

How would you rate this page?