Admin

Modify Admin By Username

put/api/admin/by-username/{username}

Path parameters

usernamestring required

Request body

passwordstring nullable
telegram_idinteger nullable
discord_webhookstring nullable
status'active' | 'disabled' nullable
data_limitinteger nullable
sub_templatestring nullable
sub_domainstring nullable
profile_titlestring nullable
support_urlstring nullable
notestring nullable
role_idinteger nullable

Response

Successful Response

idinteger nullable
usernamestring required
telegram_idinteger nullable
discord_webhookstring nullable
sub_domainstring nullable
profile_titlestring nullable
support_urlstring nullable
total_usersinteger
used_trafficinteger
data_limitinteger nullable
status'active' | 'disabled' | 'limited'
sub_templatestring nullable
lifetime_used_trafficinteger nullable
notestring nullable
is_disabledboolean required
is_limitedboolean required

Changes

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