NetBox icon

NetBox

Consume NetBox API

Actions243

Rear Port Template → Delete

AI-generated

Overview

This node interacts with the NetBox API to delete a specific Rear Port Template record within the DCIM domain. It is useful for automating the removal of rear port templates in network infrastructure management workflows, such as cleaning up unused templates or managing device configurations programmatically.

Use Case Examples

  1. Deleting a rear port template by specifying its ID to maintain an up-to-date network device template inventory.
  2. Automating the cleanup of obsolete rear port templates in bulk operations.

Properties

Name Meaning
Domain Specifies the domain of the NetBox API to target, here it is set to 'dcim' for data center infrastructure management.
ID The unique identifier of the Rear Port Template record to delete.

Output

JSON

  • success - Indicates whether the delete operation was successful.
  • message - Additional information or confirmation message about the delete operation.

Dependencies

  • NetBox API with appropriate credentials for authentication

Troubleshooting

  • Ensure the provided Rear Port Template ID exists; otherwise, the API will return an error indicating the record was not found.
  • Verify that the API credentials have sufficient permissions to delete records in the DCIM domain.
  • Check network connectivity to the NetBox API endpoint to avoid request failures.
  • Common error messages include '404 Not Found' if the ID does not exist, and '403 Forbidden' if permissions are insufficient. Resolving these involves verifying the ID and API permissions respectively.

Links

Discussion