List an Identity's Sessions
GET/admin/identities/:id/sessions
This endpoint returns all sessions that belong to the given Identity.
SDK ReferenceTypeScript
listIdentitySessions()| Parameters | Type | Required | Description |
|---|---|---|---|
| id | string | required | ID is the identity's ID. |
| perPage | number | optional | Deprecated Items per Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This is the number of items per page. |
| page | number | optional | Deprecated Pagination Page DEPRECATED: Please use `page_token` instead. This parameter will be removed in the future. This value is currently an integer, but it is not sequential. The value is not the page number, but a reference. The next page can be any number and some numbers might return an empty list. For example, page 2 might not follow after page 1. And even if page 3 and 5 exist, but page 4 might not exist. The first page can be retrieved by omitting this parameter. Following page pointers will be returned in the `Link` header. |
| pageSize | number | optional | Page Size This is the number of items per page to return. For details on pagination please head over to the pagination documentation. |
| pageToken | string | optional | Next Page Token The next page token. For details on pagination please head over to the pagination documentation. |
| active | boolean | optional | Active is a boolean flag that filters out sessions based on the state. If no value is provided, all sessions are returned. |
| Variable | Type |
|---|---|
| data | Array<Session> |