Autional Autional
API Reference GitHub autional.com →

POST /admin/users/batch

Batch create multiple users; failure of one does not affect others

Account Management `bearerAuth` application/json

Request Body

Schema: dto.BatchCreateUserRequest

FieldTypeRequiredExampleConstraintsDescription
users array of

See dto.BatchCreateUserItem

Yes items: 1–1000 User list

Responses

StatusDescriptionSchema
200Batch create resultgitee_com_linmes_authms_micro-services_identity-service_internal_handler_dto.DataResponse

Referenced Schemas

dto.BatchCreateUserItem

Batch create user item

FieldTypeRequiredExampleConstraintsDescription
password string Yes length: 8–? Password
email string No Email
metadata object No extra keys: `string` Extended metadata
phone string No Phone number
username string No Username

gitee_com_linmes_authms_micro-services_identity-service_internal_handler_dto.DataResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
data object No
message string No