Skip to main content
POST
/
admin
Create Admin
curl --request POST \
  --url https://www.api.baselink.tech/admin \
  --header 'bearer: <api-key>'
{
  "success": true,
  "message": "<string>",
  "admin": {},
  "admin.id": "<string>",
  "admin.userEmail": "<string>",
  "admin.createdAt": "<string>"
}
Create a new admin user. This endpoint is restricted to admin users only.
success
boolean
Indicates if the admin user was created successfully.
message
string
Success or error message.
admin
object
The newly created admin user object.
admin.id
string
The unique identifier of the admin user.
admin.userEmail
string
The email address of the admin user.
admin.createdAt
string
The creation timestamp of the admin user.