Перейти к содержимому

Reset User Data Usage

POST
/api/user/{username}/reset

Reset user data usage

Authorizations

Parameters

Path Parameters

username
required
string

Responses

200

Successful Response

object
proxies
required
object
expire
integer
nullable
data_limit

Data_limit can be 0 or greater

integer
data_limit_reset_strategy
string
Allowed values: no_reset day week month year
inbounds
object
key
additional properties
Array<string>
note
string
nullable
sub_updated_at
string format: date-time
nullable
sub_last_user_agent
string
nullable
online_at
string format: date-time
nullable
on_hold_expire_duration
integer
nullable
on_hold_timeout
string format: date-time
nullable
username
required
string
status
required

An enumeration.

string
Allowed values: active disabled limited expired on_hold
used_traffic
required
integer
lifetime_used_traffic
integer
created_at
required
string format: date-time
links
Array<string>
default:
subscription_url
string
""
excluded_inbounds
object
key
additional properties
Array<string>

403

You’re not allowed

404

User not found

409

User already exists

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string