LIST Provisioning Tokens
GET/workspaces/:workspaceId/provisioning-tokens
List provisioning tokens - V2
Request
Path Parameters
workspaceId uuidrequired
Query Parameters
state string
Possible values: [Active
, Revoked
]
Responses
- 200
- 404
- 423
List of provisioning tokens.
- application/json
- Schema
- Example (from schema)
- example-1
Schema
Array [
]
provisioningTokenId uuidrequired
issuedTime date-timerequired
maxRegistrationTokenLifetime stringnullable
registrationTokenLifetimeOverrideMode stringrequired
deviceIdOverrideMode stringrequired
displayName stringnullable
creatorObjectId stringnullable
allowInfiniteRegistrationTokenLifetime booleanrequired
[
{
"provisioningTokenId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"issuedTime": "2024-11-11T15:00:26.732Z",
"maxRegistrationTokenLifetime": "string",
"registrationTokenLifetimeOverrideMode": "string",
"deviceIdOverrideMode": "string",
"displayName": "string",
"creatorObjectId": "string",
"allowInfiniteRegistrationTokenLifetime": true
}
]
[
{
"provisioningTokenId": "97fc7f82-c55d-4c51-889c-94ff4dc96b8b",
"issuedTime": "2021-11-11T14:00:00+00:00",
"maxRegistrationTokenLifetime": "24:00:00",
"registrationTokenLifetimeOverrideMode": "Allowed",
"deviceIdOverrideMode": "DeviceAndTechnicianAllow",
"displayName": "My provisioning token",
"creatorObjectId": "cba73fa7-1437-461b-904e-f7dd26290624",
"allowInfiniteRegistrationTokenLifetime": false
}
]
Workspace not found.
- application/problem+json
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Workspace is disabled.
- application/problem+json
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Loading...