LIST Provisioning Operations
GET/workspaces/:workspaceId/provisioning-operations
List provisioning operations - V2
Request
Path Parameters
workspaceId uuidrequired
Query Parameters
state string
Possible values: [Pending
, Completed
, Approved
, Closed
]
Responses
- 200
- 400
- 404
- 423
Provisioning Token.
- application/json
- Schema
- Example (from schema)
- example-1
Schema
Array [
]
provisioningOperationId uuidrequired
provisioningTokenId uuidrequired
createdTime date-timerequired
expirationTime date-timerequired
state stringrequired
closeReason stringnullable
verificationCode stringrequired
deviceId stringnullable
deviceIdFromDevice stringnullable
deviceIdFromApproval stringnullable
deviceIdFromProvisioningToken stringnullable
attributes
object
nullable
property name* string
lastCompleteAttemptTime date-timenullable
closedTime date-timenullable
approvedTime date-timenullable
completedTime date-timenullable
[
{
"provisioningOperationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"provisioningTokenId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdTime": "2024-12-06T09:29:03.944Z",
"expirationTime": "2024-12-06T09:29:03.944Z",
"state": "string",
"closeReason": "string",
"verificationCode": "string",
"deviceId": "string",
"deviceIdFromDevice": "string",
"deviceIdFromApproval": "string",
"deviceIdFromProvisioningToken": "string",
"attributes": {},
"lastCompleteAttemptTime": "2024-12-06T09:29:03.944Z",
"closedTime": "2024-12-06T09:29:03.944Z",
"approvedTime": "2024-12-06T09:29:03.944Z",
"completedTime": "2024-12-06T09:29:03.944Z"
}
]
[
{
"provisioningOperationId": "b5a599ef-3661-42e4-b225-3aae9482ab32",
"provisioningTokenId": "1b94c3eb-dc18-491d-bde7-2bee32ecd68c",
"createdTime": "2021-11-11T14:00:00+00:00",
"expirationTime": "2021-11-12T14:00:00+00:00",
"state": "Pending",
"verificationCode": "A79XEZD2",
"deviceId": "test-device-01",
"attributes": {
"MACAddress": "00:00:5e:00:53:af"
},
"lastCompleteAttemptTime": "2021-11-11T14:05:00+00:00"
},
{
"provisioningOperationId": "a5a599ef-3661-42e4-b225-3aae9482ab32",
"provisioningTokenId": "7b94c3eb-dc18-491d-bde7-2bee32ecd68c",
"createdTime": "2021-11-11T14:00:00+00:00",
"expirationTime": "2021-11-12T14:00:00+00:00",
"state": "Pending",
"verificationCode": "B79XEZD2",
"deviceId": "test-device-02",
"attributes": {
"MACAddress": "00:00:5e:00:53:af"
},
"lastCompleteAttemptTime": "2021-11-11T14:05:00+00:00"
}
]
Invalid state.
- 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 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...