Admin

Create Admin

Create a new admin if the current admin has sudo privileges.

post/api/admin

Request body

passwordstring required
is_sudoboolean required
telegram_idinteger nullable
discord_webhookstring nullable
discord_idinteger nullable
is_disabledboolean nullable
sub_templatestring nullable
sub_domainstring nullable
profile_titlestring nullable
support_urlstring nullable
notestring nullable
usernamestring required

Response

Admin created successfully

usernamestring required
telegram_idinteger nullable
discord_webhookstring nullable
sub_domainstring nullable
profile_titlestring nullable
support_urlstring nullable
idinteger nullable
is_sudoboolean required
total_usersinteger
used_trafficinteger
is_disabledboolean
discord_idinteger nullable
sub_templatestring nullable
lifetime_used_trafficinteger nullable
notestring nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.