Set Session
Update an existing session with new information like additional checks or metadata or request additional challenges. A new session token will be returned. Note that the previous token will be invalidated.
Required permissions:
session.write
Path Parameters
The unique identifier of the session to be updated.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://loading/v2/sessions/string" \ -H "Content-Type: application/json" \ -d '{}'{
"details": {
"sequence": 0,
"changeDate": "2023-01-15T01:30:15.01Z",
"resourceOwner": "string",
"creationDate": "2023-01-15T01:30:15.01Z"
},
"sessionToken": "string",
"challenges": {
"webAuthN": {
"publicKeyCredentialRequestOptions": {
"property1": {},
"property2": {}
}
},
"otpSms": "string",
"otpEmail": "string"
}
}Was this page helpful?
List sessions
List sessions: Searches for sessions matching the given query. You can search by session ID, user ID, creation date, creator, user agent or expiration date. Required permissions:
Oidc API
Explore the Oidc API operation in the ZITADEL API. Learn about request parameters, response schemas, and integration details for this endpoint.