Skip to content

/api/reseller/users/{userId}/activate

GET
/api/reseller/users/{userId}/activate
curl --request GET \
--url https://dashboard.residential.rayobyte.com/api/reseller/users/9ee3d294-6f1e-489c-9b9b-e25e9a4e37a8/activate \
--header 'Authorization: Bearer <token>'

Activates the sub-user account and allows him to use the proxy service

The endpoint allows the Reseller to allow the Sub-user access to the proxy service. It is possible to activate a Sub-user only if the traffic balance is positive. It is used either to reactivate a previously suspended account or at the stage of creating a Sub-user account (after first replenishing his traffic balance).

userId
required
string

Proxy User ID

Example
9ee3d294-6f1e-489c-9b9b-e25e9a4e37a8

Success

Media typeapplication/json
object
status
string
Allowed values: SUCCESS
date
string
data
object
Examples
ExampleSuccess

Successfully activated

{
"status": "SUCCESS",
"date": "Mon, 1 Jan 2022 12:00:00 GMT"
}

Not authorized

Media typetext/html
string
Examples
ExampleNot authorized

Not authorized

Not authorized.

API call failed

Media typeapplication/json
object
status
string
Allowed values: FAIL
date
string
error
string
Examples
ExampleUser not found

User not found

{
"status": "FAIL",
"date": "Mon, 1 Jan 2022 12:00:00 GMT",
"error": "User not found"
}

Was this page helpful?