Create new user session
Creates a new session for a user in Jira. Once a session has been successfully created it can be used to access any of Jira’s remote APIs and also the web UI by passing the appropriate HTTP Cookie header. Note that it is generally preferrable to use HTTP BASIC authentication with the REST API. However, this resource may be used to mimic the behaviour of Jira’s log-in page (e.g. to display log-in errors to a user).
/auth/1/sessionAuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
application/jsonthe username and password to authenticate
passwordstringusernamestringReturned if the caller is authenticated. Contains information about the caller's session.
loginInfoLoginInfoShow propertiesHide properties
failedLoginCountinteger<int64>lastFailedLoginTimestring<date-time>loginCountinteger<int64>previousLoginTimestring<date-time>sessionSessionInfoShow propertiesHide properties
namestringvaluestringReturned if the login fails due to invalid credentials.
Returned if the login is denied due to a CAPTCHA requirement, throtting, or any other reason. In case of a 403 status code it is possible that the supplied credentials are valid but the user is not allowed to log in at this point in time.