Returns a list of OpenVPN sessions by batches (up to 100 in a single request).
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
startDate | query | string(date-time) | false | Filter sessions by created or updated after this date (inclusive). |
endDate | query | string(date-time) | false | Filter sessions by created or updated before this date (exclusive). |
status | query | string | false | Filter by session status. |
returnOnlyNew | query | boolean | false |
|
size | query | string(int32) | true | Session count to return in one batch min = 1 max = 100. |
cursor | query | string | false | An opaque string value that represents a cursor pointer for the next batch of sessions. |
Detailed descriptions
startDate: Filter sessions by created or updated after this date (inclusive).
Notes:
* Max 30 days of history available.
* If value is before (now - 30 days), an error will be returned.
* Should use ISO_INSTANT
format, e.g. 2022-11-08T14:53:43Z
.
* Should be less than endDate, otherwise no sessions will be returned.
Default value : now - 1 day
endDate: Filter sessions by created or updated before this date (exclusive).
Notes:
* Should use ISO_INSTANT
format, e.g. 2022-11-08T14:53:43Z
.
returnOnlyNew: Notes:
* If true, returns only new sessions created between specified dates (no duplicates).
* If false, returns updated sessions between specified dates (duplicates may be returned in subsequent requests).
Enumerated Values
Parameter | Value |
---|---|
status | ACTIVE |
status | COMPLETED |
status | FAILED |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK |
To perform this operation, you must be authenticated by means of one of the following methods: oauth