Case Study - Defending against DDoS attacks, improving DNS management, and enhancing web redirects

Username modification


Change the username for a particular API sub-user of yours.


Name Data Type Status Description
auth-id Integer Required Authentication parameter
auth-password String Required Authentication parameter
id Integer Required Sub-user's ID
sub-auth-user String Required New username for the API sub-user.

Return: Confirmation that the sub-user's username has been edited.


When the authentication of API user is not correct, any API request will fail with the following status and statusDescription:

{"status":"Failed","statusDescription":"Invalid authentication, incorrect auth-id or auth-password."}

In case the added Sub-user's ID is wrong:

{"status":"Failed","statusDescription":"You don't have permission to do that."}

Note: These are example errors in JSON format, and these are not the only errors that can be displayed.


POST/GET: auth-id=0&auth-password=password&id=0&sub-auth-user=username

POST/GET: auth-id=0&auth-password=password&id=0&sub-auth-user=username

Last modified: 2020-07-10
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more