You can rename your account by sending the POST request to the following URL: /account/name.
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-Name (required) | A new name for the specified account. |
After the request has been completed, the system returns the response with Code 200.
Possible Response Codes
Code | Text | Description |
---|
403 | Permission denied | You have no permission to change the account name. |
400 | Bad Request | The system failed to process the request, because it did not contain all necessary parameters. |
200 | Ok | The specified account has been renamed. |
Sample Request
POST /account/name 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-Name: Account Name
XML
Sample Response
HTTP/1.1 200 OK
Connection: close
XML