0% found this document useful (0 votes)
100 views

Rubrik API Explorer - Error - Afterremoving - MFA - From - Mobile

The document summarizes the Rubrik API endpoint for creating a user session. It describes the POST method on the /session endpoint that is used to create a session. It lists the organization_id and realm parameters that can be specified. It provides examples of the curl command and response codes and payloads for a successful session creation versus an authentication failure.

Uploaded by

Sameer Mohanty
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
100 views

Rubrik API Explorer - Error - Afterremoving - MFA - From - Mobile

The document summarizes the Rubrik API endpoint for creating a user session. It describes the POST method on the /session endpoint that is used to create a session. It lists the organization_id and realm parameters that can be specified. It provides examples of the curl command and response codes and payloads for a successful session creation versus an authentication failure.

Uploaded by

Sameer Mohanty
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

7/19/23, 9:50 PM Rubrik API Explorer

Rubrik REST API Explorer

Rubrik REST API 1

[ Base URL: /api/v1 ]

Schemes
HTTPS Authorize

sess

/session User session management.

POST /session Create user session


Open a user session.

Parameters Cancel

https://192.168.33.31/docs/v1/playground/#/%2Fsession/createSession 1/3
7/19/23, 9:50 PM Rubrik API Explorer

Name Description

organization_id
string Bind the new session to the specified organization. When this parameter is not specified, the session will be bound to
(query) an organization chosen according to the user's preferences and authorizations.

organization_id - Bind the new session to the

realm
string Bind the new session to the specified directory. When this parameter is unspecified, the session will be bound to local
(query) domain.

realm - Bind the new session to the specified

Execute Clear

Responses Response content type application/json

Curl

curl -X POST "https://192.168.33.31/api/v1/session" -H "accept: application/json" -H "authorization: Basic YWRtaW46Z0BQdEwyckJrNCM="

Request URL

https://192.168.33.31/api/v1/session

Server response

https://192.168.33.31/docs/v1/playground/#/%2Fsession/createSession 2/3
7/19/23, 9:50 PM Rubrik API Explorer

Code Details

401 Error:
Undocumented
Response body

Authentication is possible but has failed or not yet been provided.

Download

Response headers

content-length: 67
content-type: text/plain; charset=UTF-8
date: Wed, 19 Jul 2023 16:19:25 GMT

Responses

Code Description

200
Session creation successful.
Example Value Model

{
"id": "string",
"organizationId": "string",
"userId": "string",
"token": "string",
"expiration": "string",
"tag": "string",
"groups": [
"string"
]
}

DELETE /session​
​ /{id} Delete user session

https://192.168.33.31/docs/v1/playground/#/%2Fsession/createSession 3/3

You might also like