Admin

Modify Admin By Username

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

Request

  • Base URL
    https://api.ha-man2.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.ha-man2.com/api/admin/by-username/{username}
  • Auth
    OAuth 2
    Password
    Token URL: /api/admin/token

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

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      the response's property default value changed from true to false for the status