Skip to content
Oclavex is in private preview, open to existing MonetizeIt users. New users who would like to evaluate Oclavex before the public launch can request access at info@revenusion.com.

List activations by user

GET
/api/v1/provision/admin/sessions/activations/by-user/{userId}
curl --request GET \
--url 'https://example.com/api/v1/provision/admin/sessions/activations/by-user/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0?pageSize=20&includeTotal=false' \
--header 'Authorization: Bearer <token>'

Lists a single user’s license sessions (activations) with pagination, sorting, and filtering.

  • oidc
    provision.license-session.read
userId
required
string format: uuid

The user whose sessions to list.

pageSize
integer format: int32
default: 20 >= 1 <= 100

The number of items per page: 20 when omitted, at most 100.

pageToken
string

The nextPageToken of the previous page; omit it for the first page.

includeTotal
boolean

Whether the response carries totalCount, the size of the filtered list.

sortOrder
string

Optional sort expression; ascending when omitted.

filter
string

Optional filter expression applied to the results.

X-Correlation-Id
string

An id of your own for the call. The answer returns it in the same header, and the server log carries it; when you send none, the server makes one.

OK

Media typeapplication/json

One page of a list endpoint: { items, nextPageToken, totalCount }. A list pages with an opaque cursor: pass NextPageToken back unchanged as the next request’s pageToken, with the same filter, sort and page size, until it is null. PageFollower does that for you.

object
items
required

The items on this page. A page may hold fewer items than the page size and still have a next page.

Array<object>

Admin read model of a license session: one activated seat (device/process) on an entitlement, with its lease, grace, trial, and validity windows.

object
id
required
string format: uuid
isTrial
required
boolean
isValidSession
required

Computed client-side: lease not expired, still inside the validity window, and not revoked.

boolean
holdsSeat
required

Whether the session holds one of its entitlement’s seats, as the server judged it when it answered: its lease is alive, or its seat is node-locked and not released; it is inside its validity window and not revoked. A node-locked seat stays held after its lease lapses, while IsValidSession reads false until the device renews it.

boolean
isNodeLocked
required

The session took or renewed its seat while its license was node-locked (floating off): the seat stays with the device after its lease lapses, until it is released.

boolean
borrowExpiresAt
required

Until when the device borrowed its seat to work offline; null when it never borrowed it or a release ended the borrow. A time in the past is a borrow that has run out.

null | string format: date-time
activatedAt
required
string format: date-time
lastAccessedAt
required
string format: date-time
leaseExpiresAt
required
string format: date-time
graceExpiresAt
required
string format: date-time
leaseTime
required
string format: duration
trialEndsAt
required
string format: date-time
isRevoked
required
boolean
revokedAt
required

When the vendor reset or blocked this activation; null while it is not revoked.

null | string format: date-time
seatReleasedAt
required

When the device or the vendor last released this activation’s seat; null while it holds one or never released it.

null | string format: date-time
revocationReason
required

Why the activation is revoked: the vendor reset its device or blocked it.

Allowed values: None Reset Blocked
fingerprint
required

The fingerprint the session is bound to: the digest of the device components it last registered.

string
fingerprintComponents
required

The names of the device components the session last registered, such as MachineId, MachineName and MacAddress; never their values. One name (NodeId) is a fingerprint supplied as a single value.

Array<string>
lastFingerprintRebindAt
required

When a tolerant component matching strategy last re-bound the session to the device as it is now, after some of its components changed; null when it was never re-bound.

null | string format: date-time
deviceName
required

Optional display name of the device where the license is activated. Useful for management UIs and user identification of licensed devices.

null | string
applicationInstanceId
required

Identifies the specific process that holds this license when concurrent licensing is enabled. Relevant when multiple processes on the same hardware require separate licenses.

null | string
activationCode
required
string
licenseKey
required
null | string
entitlementId
required
string format: uuid
appliedPlanSetId
required
null | string format: uuid
appliedPlanName
required
null | string
issuedRevision
required

The revision of the order’s terms this device holds. It takes the order’s current revision at its next renewal; a device that never renews keeps it until it activates again.

integer format: int32
licensedProducts
required
Array<string>
startsAt
required
string format: date-time
expiresAt
required
string format: date-time
userId
required
string format: uuid
email
required
string
activationCodeEmail
required

Read-only; the e-mail address of the activation code this session was activated with, or empty when the code carried none. An activation by code alone often has no user and no e-mail of its own, so this is what names its customer in an activations list.

string
isAnonymousTry
required

Read-only; true when the session’s entitlement is an anonymous try license — held by a device rather than a person — so an activations list can tell a visitor’s try from a customer’s seat. Derived from the entitlement’s assignment, never stored.

boolean
isEvaluation
required

Read-only; true when the account that issued this license is still evaluating Oclavex. Such a license carries the evaluation claim and stops working at EvaluationExpiresAt unless the app renews it. Derived when the list is read, never stored.

boolean
evaluationExpiresAt
required

Read-only; when an evaluation license stops working without a renewal: the evaluation lifetime counted from the session’s last activation or renewal, or its own end if that comes first. Null unless IsEvaluation.

null | string format: date-time
nextPageToken
required

The token that requests the next page, or null on the last page. Opaque: pass it back unchanged, never build or read one.

null | string
totalCount
required

The size of the whole filtered list, or null unless the request asked for it with includeTotal=true.

null | integer format: int32
Example
{
"items": [
{
"leaseTime": "PT15M",
"revocationReason": "None"
}
]
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

The request is not valid: a body or a parameter that fails validation, or a page token that is not valid. The errors member names the fields.

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

Unauthorized

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

WWW-Authenticate
string

How to authenticate: the bearer challenge.

Forbidden

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

The resource the path names does not exist (resource.not_found, or the service’s own code).

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

Too many requests. Wait the seconds in Retry-After, then send the call again (service.too-many-requests).

Media typeapplication/problem+json

The body of every failed call, served as application/problem+json (RFC 9457) with the members the platform adds: a numeric code, a codeName and a traceId.

object
type

A reference to the code’s entry on the error-codes page.

string
title

A short summary of the problem.

string
status
required

The HTTP status of the answer.

integer format: int32
detail

What went wrong in this call, in a sentence.

string
instance

The path of the call.

string
code
required

The stable numeric error code. The error-codes page lists them.

integer format: int32
codeName
required

The stable name of the error code, for example resource.not_found.

string
traceId
required

The id of the call in the server log. Quote it when you contact support. It equals the X-Correlation-Id of the answer.

string
requires

The scope or condition the caller is missing, on a refusal that names one.

null | string
scope

The limiter that shed the call, on a 429.

null | string
errors

On a validation failure, the messages for each field, keyed by the field’s name.

null | object
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": 1,
"codeName": "example",
"traceId": "example",
"requires": "example",
"scope": "example",
"errors": "example"
}
X-Correlation-Id
string

The correlation id of the call: the one you sent, or the one the server made.

Retry-After
integer

The seconds to wait before the call is sent again.

X-RateLimit-Limit
integer

The calls the limiter allows in its window, when it knows.

X-RateLimit-Remaining
integer

The calls left in the window, when the limiter knows.

X-RateLimit-Reset
integer

The seconds until the window resets, when the limiter knows.

X-RateLimit-Scope
string

Names the limiter that shed the call.