NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Devices → Update Device for User

AI-generated

Summary

Update a device for a specified user within a domain.

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • domain (required) — Domain identifier for the device; selected from a list of domains
  • user (required) — User identifier; selected from a list of users for the chosen domain
  • device (required) — The device identifier to update
  • body — JSON payload containing fields to update on the device

Output shape

a single updated device object

Returns the updated device record; errors are wrapped in a standard error envelope

Examples

Example 1: Update a user's device settings

Set domain to "example.com", user to "1001", device to "dev_45", body to {"status":"active"}, refreshOptions false

Links

Discussion