Provisioning

Device provisioning and activation

Get provision token

post

Generate a provision token for device activation

Required permissions, when user-scoped authentication is used: PROVISION_DEVICES. User-scoped tokens that set ownerId different from authenticated user ID also require ORG_VIEW_USERS.

Authorizations
AuthorizationstringRequired

OAuth2 Bearer token obtained from authentication endpoint

Body
orgIdinteger · int32Required

Organization ID, in which device should be created.

Example: 101
ownerIdinteger · int64Required

User ID, to which device will be assigned.

Example: 101
Responses
chevron-right
200

Provision token

application/json
tokenstringRequired

Provision token value

Example: gSNIYf9l7vdaLEMWK0jRCHT9RKe5rDSO
deviceIdinteger · int32Required

ID of the device created with this token

Example: 101
post
/api/v1/organization/device/provision/token

Last updated

Was this helpful?