Skip to content

Retrieves a paginated list of the current user's active license sessions.

GET
/api/v1/provision/consumer/me/sessions
curl --request GET \
--url 'https://example.com/api/v1/provision/consumer/me/sessions?pageNumber=1&pageSize=100'

This endpoint provides a view of all licenses currently activated by the user across all their devices. It is useful for displaying a user’s “My Licenses” or “My Devices” page in a portal.

pageNumber
integer | string format: int32
default: 1 /^-?(?:0|[1-9]\d*)$/

1-based page number to return.

pageSize
integer | string format: int32
default: 100 /^-?(?:0|[1-9]\d*)$/

Maximum number of items per page.

Returns the list of active license sessions.

Serializable IPaginatedList<T> implementation used to deserialize paged API responses. int PaginatedListDto<T>.TotalPages, bool PaginatedListDto<T>.HasPreviousPage, and bool PaginatedListDto<T>.HasNextPage are computed from the other properties.

object
pageNumber

The 1-based index of this page within the full result set.

integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
pageSize

The maximum number of items per page that was requested.

integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
totalCount

The total number of items across all pages.

integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
items

The items on this page.

Array<object>

A license session the calling user owns.

object
id
string format: uuid
entitlementId
string format: uuid
isTrial
boolean
isRevoked
boolean
activationTime
string format: date-time
lastAccessTime
string format: date-time
leaseExpiration
string format: date-time
graceExpiration
string format: date-time
trialExpiration
string format: date-time
deviceName
null | string
applicationInstanceId
null | string
fingerprint
string
totalPages

The total number of pages, computed from int PaginatedListDto<T>.TotalCount and int PaginatedListDto<T>.PageSize; 0 when int PaginatedListDto<T>.PageSize is not positive.

integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
hasPreviousPage

Whether a page precedes this one (int PaginatedListDto<T>.PageNumber is greater than 1).

boolean
hasNextPage

Whether a page follows this one (int PaginatedListDto<T>.PageNumber is less than int PaginatedListDto<T>.TotalPages).

boolean

If the user is not authenticated.

object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string

If the caller lacks the required permission.

object
type
null | string
title
null | string
status
null | integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
detail
null | string
instance
null | string