Autotask icon

Autotask

Interact with Kaseya's Autotask PSA REST API to manage companies, tickets, contracts, and more.

Actions524

Company Location → Delete

AI-generated

Overview

This node operation deletes a specified company location in the Autotask PSA system. It is useful for scenarios where a company location is no longer valid or needed and should be removed from the system to maintain accurate and up-to-date company data.

Use Case Examples

  1. Deleting a company location that has been closed or merged with another location.
  2. Removing outdated or incorrect company location entries to clean up the database.

Properties

Name Meaning
Company Location ID The unique identifier of the company location to delete, required to specify which location to remove.
Dry Run If enabled, the node returns a preview of the delete request without actually performing the deletion. Useful for testing and validation to ensure the correct location is targeted.

Output

JSON

  • success - Indicates whether the delete operation was successful.
  • id - The ID of the company location that was deleted.
  • error - Error message if the delete operation failed.

Dependencies

  • Requires an API key credential for Autotask PSA to authenticate and authorize the delete operation.

Troubleshooting

  • Common issues include providing an invalid or non-existent Company Location ID, which will cause the delete operation to fail with an error message indicating the location was not found.
  • If the Dry Run option is enabled, no changes will be made; ensure it is disabled to perform actual deletion.
  • API authentication errors may occur if the API key credential is missing or invalid, resulting in authorization failures.

Links

Discussion