Comment on page
Move Thing to Different Things Group
This guide will show you how you can move your Thing (SIM card) from one Thing Group to another Thing Group.
put
https://console.monogoto.io
/thing/replaceGroup
Move Thing to Different Things Group
curl -X PUT \
--url "https://console.monogoto.io/thing/replaceGroup/" \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {TOKEN_HERE}" \
-d "{ \"ThingId\": \"ThingId_ICCID_{ICCID}\", \"ThingsGroupId\": \"{THING_GROUP_ID}\"}"
Add your Token, Thing ICCID and THING GROUP ID in the PUT request to successfully execute the command.
Example request:
curl -X PUT \
--url "https://console.monogoto.io/thing/replaceGroup/" \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer eyJhb6IkpXVCJ9.eyJSb2xlIjoiVXN4lclByb2ZpbGVJZF9kZGM2MThhNC0wNTI1LTQ2MmUtYWN3NzhhMGQxYmbSI6Im4zgFkbWluIiwiQ3VzdG9tsbCwiVXNlcklkIjoiVklkXzg5Yj5Y2OGEyUtNDQThhLTEzZjA0MzJhZDE3YyINTAzgZmUtZGI51My00ZjRiLTktN2U5Yjc0ZWU1ZThlIiwiaWNzM3MjI5L2MDY3NTE2Mjl9.99aSLzP7kTgK6TZGW-xalrMu0GkW6viunt3XxbNng" \
-d "{ \"ThingId\": \"ThingId_ICCID_8912372646888991\", \"ThingsGroupId\": \"ThingsGroupId_e4642f60-bee1-4g467-93g46a-cee6ca46vb17a\"}"
Expected response should be empty:
Last modified 1yr ago