Create Admin
POST
/api/admin
Authorizations
Request Body required
object
username
required
string
is_sudo
required
boolean
telegram_id
integer
discord_webhook
string
password
required
string
Responses
200
Successful Response
object
username
required
string
is_sudo
required
boolean
telegram_id
integer
discord_webhook
string
403
You’re not allowed
409
Admin already exists
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string