CREATE Provisioning Token
POST/workspaces/:workspaceId/provisioning-tokens/create
Create provisioning token - V2
Request
Path Parameters
- application/json-patch+json
- application/json
- text/json
- application/*+json
Body
Possible values: [Disabled
, Allowed
, Enforce
]
Allowed values: Disabled, Allowed, Enforce
Possible values: [DeviceEnforce
, DeviceAndTechnicianAllow
, TechnicianEnforce
, TechnicianAllow
, Disable
, DeviceAllow
]
Allowed values: DeviceEnforce, DeviceAndTechnicianAllow, TechnicianEnforce, TechnicianAllow, Disable, DeviceAllow
Body
Possible values: [Disabled
, Allowed
, Enforce
]
Allowed values: Disabled, Allowed, Enforce
Possible values: [DeviceEnforce
, DeviceAndTechnicianAllow
, TechnicianEnforce
, TechnicianAllow
, Disable
, DeviceAllow
]
Allowed values: DeviceEnforce, DeviceAndTechnicianAllow, TechnicianEnforce, TechnicianAllow, Disable, DeviceAllow
Body
Possible values: [Disabled
, Allowed
, Enforce
]
Allowed values: Disabled, Allowed, Enforce
Possible values: [DeviceEnforce
, DeviceAndTechnicianAllow
, TechnicianEnforce
, TechnicianAllow
, Disable
, DeviceAllow
]
Allowed values: DeviceEnforce, DeviceAndTechnicianAllow, TechnicianEnforce, TechnicianAllow, Disable, DeviceAllow
Body
Possible values: [Disabled
, Allowed
, Enforce
]
Allowed values: Disabled, Allowed, Enforce
Possible values: [DeviceEnforce
, DeviceAndTechnicianAllow
, TechnicianEnforce
, TechnicianAllow
, Disable
, DeviceAllow
]
Allowed values: DeviceEnforce, DeviceAndTechnicianAllow, TechnicianEnforce, TechnicianAllow, Disable, DeviceAllow
Responses
- 200
- 400
- 404
- 423
Provisioning Token.
- application/json
- Schema
- Example (from schema)
- example-1
Schema
{
"provisioningTokenId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"provisioningToken": "string",
"issuedTime": "2024-11-11T15:00:26.726Z",
"maxRegistrationTokenLifetime": "string",
"registrationTokenLifetimeOverrideMode": "string",
"deviceIdOverrideMode": "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",
"allowInfiniteRegistrationTokenLifetime": false
}
Invalid request.
- application/problem+json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Workspace not found.
- application/problem+json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Workspace is disabled.
- application/problem+json
- Schema
- Example (from schema)
Schema
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}