NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Authentication/API Key (Machine 2 Machine) → Update API Key

AI-generated

Summary

Update an existing NetSapiens API key

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • UpdateApikey__path__key_id (required) — The identifier of the API key to update
  • UpdateApikey__body — JSON payload containing fields to update on the API key

Output shape

a single updated API key object

Returns the updated key details; errors are wrapped in an error envelope with status code and message

Examples

Example 1: Update key ID 12345 with a new description

refreshOptions false, key_id = 12345, body { "description": "New key" }

Example 2: Refresh dropdown cache before updating

refreshOptions true, key_id = 67890, body { "enabled": true }

Example 3: Update with minimal payload

refreshOptions false, key_id = 54321, body {}

Links

Discussion