Note: Please go to to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > Reference Info > RightScale API 1.0 Reference > Login API

Login API

Warning: This page contained outdated or otherwise non-applicable product information, and has been deprecated.

Redirecting to the newer API 1.0 Reference Guide for up-to-date information on this topic.

DEPRECATED information below...

The login pseudo-resource allows a user to obtain a session token that can be used in later API calls. This method, allows a client to use that token on subsequent calls without requiring to pass the basic authentication parameters (user and password) in each API request.  The login call is required in
order to establish a session.

URL Format


*Replace 1234 with your account number


A successful login request returns No Content (HTTP 204) and generally returns two Set-Cookie headers for rs_gbl and _session_id which can be saved to a cookie file for subsequent requests.

Example of returned HTTP headers

While the body will be empty, the headers will look similar to:

HTTP/1.1 204 No Content
Server: nginx/0.7.65
Date: Wed, 01 Sep 2010 03:27:57 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Set-Cookie: rs_gbl=eNo1kE2PgjAARP9Lz2BQCpaS7GEFFGMw4iIRb6UUF3hBoMWv8N-Fw14mc5j3DvMHFNjg-gQKyHpgv4HseQasiA0IRwUINnXdQgjCBV4ooMimNScca2mmq6mJLRXCLFeJNgXUEUREowZJ9ckn-D9rWTM76cHB7xy5cqJXeI_5VRseTunRatcHXbKO8SCqw6Ui2SZx-RFvs2Yoo7MrJL_H5trYh6wuae7lTVHEInZvNFqjxxHfcb4JLT0Vg0dJ9ScZ6yUstjuvC55-uVJ_zlr_-9q3Lkq-u-vzRKT5usHBXzrkEnbLU0000prDim_joN2jqHA8rNfV13zJY76EMtbIWgAbE9MYxw_Gbl5A;; path=/
Set-Cookie: _session_id=48dd9e80e26451470ce0e83885744d22; path=/; secure
Status: 204 No Content
X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 2.2.9
X-Runtime: 0.70237
Content-Length: 0
Cache-Control: no-cache



You must to post a comment.
Last modified
09:43, 25 Jun 2013



This page has no classifications.



© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.