Skip to main content

POST – Creating New Session

Create a session resource for further access authentications.

Request

POST https://{{IP}}/redfish/v1/SessionService/Sessions
Content-Type: application/json

Request example

{
"UserName":"Administrator",
"Password":"superuser"
}

Response

The response status is 201 and the response body is a GET Response with the properties of the newly created Session.

For Error Responses, please refer to Error Response.

Note
  1. The maximum number of active sessions is limited to 10.

  2. Creation of the new Session will add log in Managers EventLog.

  3. New sessions cannot be created when AccountService is Disabled i.e when the property ServiceEnabled for AccountService is False. However, established sessions may continue to run.