#
Getting profiles
#
Getting active profiles
Admin only
Paginated
To get active profiles of the current realm, use the following endpoint:
GET /api/profiles
On success the response will be the default API response with the data being a data array of profiles. The profile entities will be in the following format:
[
{
"serial": "string",
"name": "string",
"revokeReason": null,
"revokeTime": null,
"creationTime": "2023-12-15T15:30:52.768Z",
"expirationTime": "2023-12-15T15:30:52.768Z",
"authable": true,
"lastLogin": "2023-12-15T15:30:52.768Z",
"deviceType": "string",
"owner": "string"
}
]
The lastLogin
field is a placeholder for future functionality and does not currently reflect the last time this certificate was used
The search
parameter for this paginated endpoint is a string that will be used to search for profiles with a serial that contains the search string.
The following keys are sppoorted for the sort
parameter:
The following keys are supported for the filter
parameter:
#
Getting a specific profile
Admin only
To get a specific profile of the current realm, use the following endpoint:
GET /api/profiles/{serial}
With {serial}
being the serial of the profile to get.
On success the response will be the default API response with the data being a profile entity in the following format:
{
"serial": "string",
"name": "string",
"revokeReason": null,
"revokeTime": null,
"creationTime": "2023-12-15T15:30:52.768Z",
"expirationTime": "2023-12-15T15:30:52.768Z",
"authable": true,
"lastLogin": "2023-12-15T15:30:52.768Z",
"deviceType": "string",
"owner": "string"
}
The lastLogin
field is a placeholder for future functionality and does not currently reflect the last time this certificate was used