Sessions

Get session

Returns details of a specific session by session ID

get/zones/{zoneId}/sessions/{id}

Path parameters

zoneIdstring required

Zone ID

idstring required

Session ID

Response

An authenticated identity session. Sessions can be user sessions (representing end-user authentication) or application sessions (representing service-to-service authentication). User sessions support hierarchical relationships via parent_id, while application sessions are always standalone.

OR

Changes

Changed in 11 of the 23 revisions of this API.224

    • added the non-success response with the status 404

      response-non-success-status-added

    • added the optional property allOf[subschema #2]/anyOf[subschema #1: User Session Type]/user/allOf[subschema #1: User]/credentials to the response with the 200 status

      response-optional-property-added

    • added the optional property allOf[subschema #2]/anyOf[subschema #1: User Session Type]/user/allOf[subschema #1: User]/groups to the response with the 200 status

      response-optional-property-added

    • added the optional property allOf[subschema #2]/anyOf[subschema #1: User Session Type]/user/allOf[subschema #1: User]/role_assignments/items/group_id to the response with the 200 status

      response-optional-property-added

    • the allOf[subschema #2]/anyOf[subschema #1: User Session Type]/user/allOf[subschema #1: User]/role_assignments/items/role_identifier response's property pattern ^[a-z0-9]+(?:[-_][a-z0-9]+)*$ was added for the status 200

      response-property-pattern-added

    • added the required property allOf[subschema #2]/anyOf[subschema #1: User Session Type]/user/allOf[subschema #1: User]/role_assignments/items/role_owner_type to the response with the 200 status

      response-required-property-added

    • added the required property allOf[subschema #2]/anyOf[subschema #1: User Session Type]/user/allOf[subschema #1: User]/role_assignments/items/source to the response with the 200 status

      response-required-property-added

    • added the optional property allOf[subschema #2]/anyOf[subschema #1: User Session Type]/application/allOf[subschema #1: Application]/metadata/icon_url to the response with the 200 status

      response-optional-property-added

    • added the optional property allOf[subschema #2]/anyOf[subschema #2: Application Session Type]/application/allOf[subschema #1: Application]/metadata/icon_url to the response with the 200 status

      response-optional-property-added

    • added the required property allOf[subschema #2]/anyOf[subschema #1: User Session Type]/user/allOf[subschema #1: User]/status to the response with the 200 status

      response-required-property-added

    • added the optional property allOf[subschema #2]/anyOf[subschema #1: User Session Type]/user/allOf[subschema #1: User]/role_assignments to the response with the 200 status

      response-optional-property-added

    • added the optional property allOf[subschema #2]/anyOf[subschema #1: User Session Type]/user/allOf[subschema #1: User]/grant_count to the response with the 200 status

      response-optional-property-added

    • added the optional property allOf[subschema #2]/anyOf[subschema #1: User Session Type]/user/allOf[subschema #1: User]/session_count to the response with the 200 status

      response-optional-property-added

    • added the required property allOf[subschema #2]/anyOf[subschema #1: User Session Type]/application/allOf[subschema #1: Application]/consent to the response with the 200 status

      response-required-property-added

    • added the required property allOf[subschema #2]/anyOf[subschema #2: Application Session Type]/application/allOf[subschema #1: Application]/consent to the response with the 200 status

      response-required-property-added

    • added the required property allOf[subschema #2]/anyOf[subschema #1: User Session Type]/user/allOf[subschema #1: User]/identifier to the response with the 200 status

      response-required-property-added

  • d3d69f45bfed23See the full diff
    • removed the optional property allOf[subschema #2]/anyOf[subschema #1: User Session Type]/application/allOf[subschema #1: Application]/traits from the response with the 200 status

      response-optional-property-removed

    • removed the optional property allOf[subschema #2]/anyOf[subschema #2: Application Session Type]/application/allOf[subschema #1: Application]/traits from the response with the 200 status

      response-optional-property-removed

    • the endpoint scheme security OAuth2 was added to the API

      api-security-added

    • the endpoint scheme security bearerAuth was added to the API

      api-security-added

    • the endpoint scheme security iam_bearerAuth was removed from the API

      api-security-removed

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added subschema #1 subschema #2 to the response body allOf list for the response status 200

      response-body-all-of-added

    • removed subschema #1 subschema #2 from the response body allOf list for the response status 200

      response-body-all-of-removed

    • added subschema #1 subschema #2 to the response body allOf list for the response status 200

      response-body-all-of-added

    • removed subschema #1 subschema #2 from the response body allOf list for the response status 200

      response-body-all-of-removed