Create user-device group association

Creates a new user device group association. If the user is not registered on things5 an invitation email will be sent.

🚧

User Roles

Roles assignable to the users MUST be specified in the role of authenticated user. Make sure that the authenticated user is allowed to assign the role to the user. This can be specified in the users_create_child_roles_assoc of role. Use Edit Role to set that.

For example: Given machines group X, an authenticated user A and roles service and standard. User A has role service on machines group X. In order to assign the role standard to user B on machines group X users_create_child_roles_assoc must be

{
  "users_create_child_roles_assoc": [
    { "child_role_id": "UUID of standard role" },
  ]
}
Language
Credentials
Header