Create Account User
Beta/v1/identity/account-usersIdempotent with Idempotency-Key header. Learn more
Creates an account user and invites them to the account.
include[]optional arrayenumValues:roledepartmentSub-objects to expand in the response. When omitted, sub-objects are returned as null.
namestringnullableDisplay name.
emailstringnullableEmail address.
usernamestringnullableUsername.
passwordstringnullablePassword (only valid for scanner-role users backing a scanning station).
role_idoptional stringnullableRole ID. Expandable.
department_idoptional stringnullableDepartment ID. Expandable.
preferencesarray of objectNotification preferences to create for the new user (external targets only).
notification_type_codestringenumValues:invoiceorder_acknowledgementpurchase_order_submissionNotification type code. Must match a value of constants.AccountRelationNotificationType.
enabledbooleanWhether this notification type is enabled for the account user.
idstringAccount user ID.
objectstringenumValues:account_userResource type identifier.
namestringnullableDisplay name.
emailstringnullableEmail address.
usernamestringnullableUsername.
image_urlstringnullableProfile image URL.
statusstringenumValues:activedisabledremovedAccount user status.
roleobjectExpandablenullableAssigned role.
idstringRole ID.
objectstringenumValues:roleResource type identifier.
namestringDisplay name.
typestringenumValues:adminuserscannerRole type code.
ownerobjectnullableOwner of this resource.
null in this endpoint.permissionsarray of stringnullablePermissions in {domain}:{action} format.
created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
departmentobjectExpandablenullableAssigned department.
idstringDepartment ID.
objectstringenumValues:departmentResource type identifier.
namestringDisplay name.
notesstringnullableNotes about the department.
locationobjectnullableAssociated location.
null in this endpoint.scanning_stationsobjectnullableScanning stations in this department.
null in this endpoint.machinesobjectnullableMachines in this department.
null in this endpoint.created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last update timestamp.
last_used_atstring (date-time)nullableWhen the user last used this account.
created_atstring (date-time)When the account user was created.
updated_atstring (date-time)When the account user was last updated.
Responses
Successful response for Create Account User