Aruba Central icon

Aruba Central

Interact with the Aruba Central API

Actions95

Site → Update Site

AI-generated

Overview

This node operation updates the details of a specific site within the Aruba Central platform, particularly under the 'monitoring' domain. It is useful for network administrators who need to modify site information such as the site name and location details (address or geolocation). For example, if a site changes its physical location or requires a name update, this operation allows those changes to be reflected in Aruba Central.

Use Case Examples

  1. Updating the name and address of a site to reflect a new office location.
  2. Changing the geolocation coordinates of a site for accurate network monitoring.

Properties

Name Meaning
Domain Specifies the domain of the Aruba Central API to use, defaulting to 'monitoring' for this operation.
Site ID The unique identifier of the site to update.
Site Name The new name to assign to the site.
Location Type Determines whether the location update is based on an address or geolocation coordinates.
Address The updated street address of the site, shown if Location Type is 'Address'.
City The updated city for the site address, shown if Location Type is 'Address'.
State The updated state for the site address, shown if Location Type is 'Address'.
Country The updated country for the site address, shown if Location Type is 'Address'.
Zipcode The updated postal code for the site address, shown if Location Type is 'Address'.
Latitude The updated latitude coordinate for the site, required if Location Type is 'Geolocation'.
Longitude The updated longitude coordinate for the site, required if Location Type is 'Geolocation'.

Output

JSON

  • site_id - The ID of the updated site.
  • site_name - The new name of the site after update.
  • location_type - The type of location information updated (address or geolocation).
  • address - The updated street address of the site, if applicable.
  • city - The updated city of the site, if applicable.
  • state - The updated state of the site, if applicable.
  • country - The updated country of the site, if applicable.
  • zipcode - The updated postal code of the site, if applicable.
  • latitude - The updated latitude coordinate of the site, if applicable.
  • longitude - The updated longitude coordinate of the site, if applicable.

Dependencies

  • An API key credential for Aruba Central OAuth2 authentication

Troubleshooting

  • Ensure the Site ID is valid and exists in Aruba Central to avoid 'site not found' errors.
  • Verify that the latitude and longitude values are within valid ranges (-90 to 90 for latitude, -180 to 180 for longitude) when using geolocation.
  • If updating address, ensure all required address fields are correctly formatted and not empty.
  • Check that the API credentials are correctly configured and have sufficient permissions to update site information.
  • Common error messages may include authentication failures, invalid site ID, or validation errors on location data. Resolving these typically involves verifying credentials, input data, and API access rights.

Discussion