---
title: "Device & Token management in Multitenant mode"
canonical: "https://onesaitplatform-es.refined.site/space/OP/901087294/Device%20%26%20Token%20management%20in%20Multitenant%20mode"
format: markdown
---
> ℹ️ Available from version 2.0.2-fireball

## Token generation and management

Despite the fact that a Device/IoT Client can be shared and used across tenants of the same vertical, each token belongs to a single tenant. For these reason, device tokens, when generated, will show a specific tenant.

![image](media://13a45887-7e03-475a-92bc-9fa725e7576c)

Vertical administrators can generate tokens for each tenant, inside the update-client page:

![image](media://e0ebf2c7-1418-461f-8e3f-43e893a2f768)

On the other hand, tenant developers & users, can only generate tokens for their tenant:

![image](media://6e9269af-2c4e-40ca-860d-d112f1df21d6)

## REST API

These operations can be done via REST API as well, at the Swagger Devices API group.

![image](media://5659c8bd-1153-4e8c-a13f-8d40037b2ec9)

![image](media://395ccbf0-ec35-4686-8d2e-64ae4b15ec4b)


![image](media://59efb25d-3bfb-49dc-bbcc-39d31a9e321a)