NetBox icon

NetBox

Consume NetBox API

Actions243

Power Outlet Template → Delete

AI-generated

Overview

This node interacts with the NetBox API to delete a specific Power Outlet Template record within the DCIM domain. It is useful for automating the removal of power outlet templates in network infrastructure management workflows, ensuring that outdated or unnecessary templates are programmatically deleted without manual intervention.

Use Case Examples

  1. Automatically delete a Power Outlet Template by specifying its ID to keep the NetBox inventory clean and up to date.
  2. Integrate with a larger automation pipeline to remove power outlet templates when decommissioning devices or updating infrastructure configurations.

Properties

Name Meaning
Domain Specifies the domain of the NetBox API to target, here it is set to 'dcim' for data center infrastructure management.
Power Outlet Template ID The unique identifier of the Power Outlet Template to be deleted.

Output

JSON

  • success - Indicates whether the deletion was successful.
  • id - The ID of the deleted Power Outlet Template.

Dependencies

  • NetBox API with appropriate credentials

Troubleshooting

  • Common issues include providing an invalid or non-existent Power Outlet Template ID, which will result in an error from the NetBox API indicating the resource was not found.
  • Authentication errors if the API credentials are incorrect or missing, resulting in authorization failures.
  • Network connectivity issues to the NetBox server can cause request failures.

Links

Discussion