You can change your account URL by sending the POST request to the following URL: /account/url.
Permission to run the request: Account Owner, Administrator.
Parameter | Description |
---|---|
X-Auth-Account-Url (required) | Base URL of the account, e.g. http://myaccount.ispringlearn.com |
X-Auth-Email (required) | Administrator e-mail address. |
X-Auth-Password (required) | Administrator password. |
X-Account-Url (required) | New URL for your account. |
After the request has been completed, the system returns the response with Code 200.
Code | Text | Description |
---|---|---|
403 | Permission denied | You have no permission to change the account address. Only Account Owner and Administrator have permission to send the request. |
403 | Url is busy | The specified account URL is already used for another account. |
403 | Url is internal | The specified account URL is reserved for internal system usage. |
400 | Bad Request | The system failed to process the request, because it did not contain all necessary parameters. |
200 | Ok | The account URL has been changed. |
POST /account/url HTTP/1.1 Host: api.ispringonline.com X-Auth-Account-Url: http://myaccount.ispringlearn.com X-Auth-Email: email@email.com X-Auth-Password: password X-Account-Url: http://myaccount1.ispringlearn.com |
HTTP/1.1 200 OK Connection: close |