URnetwork
Copyright 2024 BringYour, Inc.
Set the name of the association. To set the name of devices owned by the network, use /device/set-name.
/device/set-name
Name of the device
const response = await fetch('https://api.bringyour.com/device/set-association-name', { method: 'POST', headers: { "Authorization": "Bearer <token>", "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "error": { "message": "text" } }