Change Network and Connector for a Device (TagoIO)
This guide helps you change the network and connector for your devices on TagoIO, either via HTTPS requests (e.g., Postman) or using TagoIO Analysis scripts. The steps below focus on using the API with Postman.
Section 1: Changing the Network and Connector Using the API
Prerequisites
Before you begin, make sure you have:
- Postman (or any API client) installed.
- The IDs for the Network, Connector, and Device you want to modify.
- All existing tokens for your device deleted; otherwise, you won’t be able to change the connector.
Step-by-step
-
Obtain the IDs
- Network and Connector ID: Go to the Create Device page, pick the desired connector within a network, and copy the Network ID and Connector ID from the URL.
- Device ID: In the Devices tab, open your device and copy the Device ID from the URL.
-
Delete device tokens
- In the Devices tab, open your device and delete all tokens.
-
Configure Postman
- Use the following API endpoint and body format for your request: API docs.
-
Generate a Profile Token
- Go to Admin → your Profile → Tokens tab: how to create a profile token.
- Create a token with “Expires Never” and copy it for the request.
-
Execute the request
- In Postman, set the request as shown below. Replace placeholders with your actual values and send the request.
PUT https://api.tago.io/device/{DEVICE_ID}
Authorization: {YOUR_PROFILE_TOKEN}
Content-Type: application/json
{
"network": "NETWORK_ID",
"connector": "CONNECTOR_ID"
}
Visual references
Where to get the Network and Connector ID
Where to get the Device ID
How to delete Device Token


