REGENERATE Provisioning Token
POST/workspaces/:workspaceId/provisioning-tokens/:provisioningTokenId/regenerate
Regenerate provisioning token - V2
Request
Path Parameters
provisioningTokenId stringrequired
workspaceId uuidrequired
Responses
- 200
- 400
- 404
- 423
Provisioning Token.
- application/json
- Schema
- Example (from schema)
- example-1
Schema
provisioningTokenId uuidrequired
provisioningToken stringrequired
issuedTime date-timerequired
maxRegistrationTokenLifetime stringnullable
registrationTokenLifetimeOverrideMode stringrequired
deviceIdOverrideMode stringrequired
displayName stringnullable
creatorObjectId stringnullable
allowInfiniteRegistrationTokenLifetime booleanrequired
{
"provisioningTokenId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"provisioningToken": "string",
"issuedTime": "2024-11-22T11:58:29.088Z",
"maxRegistrationTokenLifetime": "string",
"registrationTokenLifetimeOverrideMode": "string",
"deviceIdOverrideMode": "string",
"displayName": "string",
"creatorObjectId": "string",
"allowInfiniteRegistrationTokenLifetime": true
}
{
"provisioningTokenId": "97fc7f82-c55d-4c51-889c-94ff4dc96b8b",
"provisioningToken": "dGhpc19pc19hbl9leGFtcGxlX3Rva2VuX3RoaXNfaXNfYW5fZXhhbXBsZV90b2tlbl90aGlzX2lzX2FuX2V4YW1wbGVfdG9rZW5fdGhpc19pc19hbl9leGFtcGxlX3Rva2VuX3RoaXNfaXNfYW5fZXhhbXBsZV90b2tlbl90aGlzX2lzX2FuX2V4YW1wbGVfdG9rZW4=",
"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
}
Invalid request.
- 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"
}
Provisioning token 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...