NetBox icon

NetBox

Consume NetBox API

Actions243

MAC Address → Delete

AI-generated

Overview

This node interacts with the NetBox API to delete a MAC Address record within the specified domain. It is useful for automating the removal of MAC Address entries from NetBox, which is a network infrastructure resource management tool. For example, it can be used in network management workflows to clean up obsolete or incorrect MAC Address records automatically.

Use Case Examples

  1. Deleting a MAC Address record by specifying its ID in the DCIM domain to maintain accurate network inventory.
  2. Automating the cleanup of MAC Address entries in bulk operations by integrating this node in an n8n workflow.

Properties

Name Meaning
Domain Specifies the domain of the NetBox API to target, such as DCIM, IPAM, Tenancy, etc. This determines the API segment to interact with.
MAC Address ID The unique identifier of the MAC Address record to delete. Required for delete operation in the DCIM domain.

Output

JSON

  • success - Indicates whether the MAC Address deletion was successful.
  • message - Additional information or error message related to the deletion operation.

Dependencies

  • NetBox API with appropriate credentials

Troubleshooting

  • Ensure the MAC Address ID provided is correct and exists in the specified domain; otherwise, the deletion will fail.
  • Verify that the API credentials have sufficient permissions to delete MAC Address records in NetBox.
  • Common error messages may include authorization errors, resource not found, or network connectivity issues. Check the error message returned in the output for details.

Links

  • NetBox API Documentation - Official documentation for the NetBox API, useful for understanding available endpoints and required parameters.

Discussion