GET Provisioning Operation by Verification Code
GET/workspaces/:workspaceId/provisioning-operations/verification-code/:verificationCode
Get provisioning operation by verification code - V2
Request
Path Parameters
verificationCode stringrequired
workspaceId uuidrequired
Responses
- 200
- 404
- 423
Provisioning Token.
- application/json
- Schema
- Example (from schema)
- example-1
Schema
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-11-11T15:00:26.713Z",
"expirationTime": "2024-11-11T15:00:26.713Z",
"state": "string",
"closeReason": "string",
"verificationCode": "string",
"deviceId": "string",
"deviceIdFromDevice": "string",
"deviceIdFromApproval": "string",
"deviceIdFromProvisioningToken": "string",
"attributes": {},
"lastCompleteAttemptTime": "2024-11-11T15:00:26.713Z",
"closedTime": "2024-11-11T15:00:26.713Z",
"approvedTime": "2024-11-11T15:00:26.713Z",
"completedTime": "2024-11-11T15:00:26.713Z"
}
{
"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"
}
Provisioning operation or 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...