Skip to content

UserController_createSuperAdmin

POST
/users/super-admins
object
email
required

Email

string format: email
Example
user@gmaill.com
firstName
required

First name

string
Example
first name
lastName
required

Last name

string
Example
last name
contactNumber
string
role

Role

string
Example
super-admin
object
success
required
boolean
message
required
string
data
required
object
firstName
string
nullable
Example
John
id
required
string
lastName
string
nullable
profilePicture
string
nullable
designation
string
nullable
contactNumber
required
string
nullable
address
string
nullable
email
string
nullable