Skip to main content

Create User

Create a new user.

Basic Parameters

ParameterDescription
First NameThe first name of the user.
PasswordThe user's initial password.
UsernameThe user's username.

Advanced Parameters

ParameterDescription
EmailEmail address for the user.
Extra FieldsAny additional fields to add to the user.Can be one of:
  • permissions: which permissions the user should have
  • activated: whether the user's account is activated (true/false)
  • manager_id: the ID of the user's manager
  • employee_num: which number of employee the user is
  • company_id: the ID of the company the user belongs to
  • twofactorenrolled: whether the user is enrolled in two-factor auth (true/false)
  • twofactoroptin: whether the user should have the option to enroll in two-factor auth (true/false)
  • department_id: the ID of the department the user belongs to
  • location_id: the ID of the location the user works in
  • remote: whether the user works remotely (true/false)
  • groups: ID of the group or groups the user should be associated with. Can be a single ID number of an array like [1,2,3]
Job TitleThe user's job title.
Last NameThe user's last name.
NotesAny additional notes to attach to the user.
PhoneThe user's phone number.

Example Output

{
"status": "success",
"messages": "User was successfully created.",
"payload": {
"id": 2,
"avatar": "//gravatar.com/avatar/d4939c7b14b7de420ad1059192735abe",
"name": "firstname lastname",
"first_name": "firstname",
"last_name": "lastname",
"username": "username",
"remote": false,
"locale": null,
"employee_num": null,
"manager": null,
"jobtitle": "a test user",
"phone": null,
"website": null,
"address": null,
"city": null,
"state": null,
"country": null,
"zip": null,
"email": "test@blinkops.com",
"department": null,
"location": null,
"notes": "this are some notes",
"permissions": null,
"activated": false,
"ldap_import": false,
"two_factor_enrolled": false,
"two_factor_optin": false,
"assets_count": 0,
"licenses_count": 0,
"accessories_count": 0,
"consumables_count": 0,
"company": null,
"created_by": null,
"created_at": {
"datetime": "2023-01-20 09:49:51",
"formatted": "2023-01-20 09:49 AM"
},
"updated_at": {
"datetime": "2023-01-20 09:49:51",
"formatted": "2023-01-20 09:49 AM"
},
"start_date": null,
"end_date": null,
"last_login": null,
"deleted_at": null,
"available_actions": {
"update": true,
"delete": true,
"clone": true,
"restore": false
},
"groups": null
}
}

Workflow Library Example

Create User with Snipe It and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop