You can get the account name by sending the GET request to the following URL: /account/name.
Permission to run the request: Account Owner, Administrator, Organization Administrator, Publisher.
|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.|
After the request has been completed, the system returns the response with Code 200. The body of the reponse will contain the account name.
|200||Ok||The request has been processed successfully.|
GET /account/name HTTP/1.1 Host: api.ispringonline.com X-Auth-Account-Url: http://myaccount.ispringlearn.com X-Auth-Email: firstname.lastname@example.org X-Auth-Password: password
HTTP/1.1 200 OK Connection: close <account_name>