dambel

دمبل

shevron
ورود | ثبت نام

API Docs / users / create



POST /api/v1/users

Create a new user in the system.


Permissions

PermissionDescription
users.createCreate users

Request Body Parameters

NameTypeRequiredDescription
first_namestringYesFirst name (max 255)
last_namestringYesLast name (max 255)
emailstringYesEmail (max 255, unique)
phonestringYesPhone number (max 255, unique)
usernamestringYesUsername (max 255, unique)
heightintegerNoUser's height in CM
birth_datedateNoUser's birth date
passwordstringYesPassword (will be hashed and saved)

Response

201 Created

{
  "user": {<user resource>}
}

Error Responses


footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube