NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Addresses → Update Address for User

AI-generated

Summary

Update an address for a selected user on a domain

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • domain (required) — Domain to update address for
  • user (required) — User identifier
  • emergencyAddressId (required) — Emergency address identifier
  • body — Request body payload

Output shape

a single address record

Returns the updated address; optional fields may be omitted; errors follow standard API envelope

Examples

Example 1: Update a user's primary address using a selected domain

Domain: example.com; User: 1001; Emergency Address ID: 2002; Body: {"street":"123 Main"}; Refresh Dropdown Cache: false

Example 2: Refresh dropdown cache before selecting domain and user

Enable Refresh Dropdown Cache; select Domain and User; provide Emergency Address ID and Body

Example 3: Patch address via API directly without UI selection

Provide Domain, User, Emergency Address ID, and Body in request; leave Refresh Dropdown Cache disabled

Links

Discussion