Halo PSA icon

Halo PSA

Consume Halo PSA API

Actions795

Azure Dev Ops → Delete Undefined

AI-generated

Overview

This node integrates with the Azure DevOps API to perform operations on Azure DevOps resources. Specifically, the "Delete Undefined" operation under the "Azure Dev Ops" resource allows users to delete an entity identified by its numeric ID. This can be useful in automation workflows where obsolete or unwanted items need to be programmatically removed from Azure DevOps projects.

Practical examples include:

  • Automatically deleting work items or tasks that meet certain criteria.
  • Cleaning up test artifacts or temporary resources after a build or deployment pipeline.
  • Removing stale or invalid entries as part of a maintenance routine.

Properties

Name Meaning
Id The numeric identifier of the Azure DevOps entity to delete. This is a required field and specifies which item will be deleted.

Output

The node outputs JSON data representing the response from the Azure DevOps API after attempting the deletion. Typically, this will contain confirmation of the deletion or details about the deleted entity. If an error occurs, the output JSON will include an error field with the error message.

No binary data output is produced by this operation.

Dependencies

  • Requires valid credentials for Azure DevOps API access, including base URL, tenant, client ID, and client secret.
  • The node uses these credentials to authenticate API requests via HTTP headers.
  • No additional external dependencies beyond standard HTTP request capabilities are needed.

Troubleshooting

  • Common issues:

    • Missing or invalid credentials will cause authentication failures.
    • Providing an invalid or non-existent ID will result in an error from the Azure DevOps API.
    • Network connectivity problems may prevent successful API calls.
  • Error messages:

    • "No credentials returned!": Indicates that the node could not retrieve the necessary API credentials. Ensure credentials are configured correctly.
    • "Resource Azure Dev Ops not found" or "Operation Delete Undefined not found for resource Azure Dev Ops": Suggests a misconfiguration or typo in resource/operation selection.
    • API errors returned from Azure DevOps (e.g., 404 Not Found if the ID does not exist) will be included in the output JSON's error field.
  • Resolution tips:

    • Verify that the API credentials are set up and valid.
    • Confirm the ID corresponds to an existing entity in Azure DevOps.
    • Check network connectivity and API endpoint accessibility.

Links and References

Discussion