Update a sub-user
Use this endpoint to update a specific endpoint. You can update their proxy_username, proxy_password, email , or name.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Body
namestring · min: 1Optional
emailstring · emailOptional
proxy_usernamestring · min: 8Optional
proxy_passwordstring · min: 8Optional
Responses
200
Successful response
application/json
400
Bad request
404
Sub user not found
500
Internal server error
put
/api/sub-users/{id}PUT /api/sub-users/{id} HTTP/1.1
Host: api.flashproxy.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 88
{
"name": "text",
"email": "[email protected]",
"proxy_username": "text",
"proxy_password": "text"
}{
"success": true,
"sub_user": {}
}Last updated