HAP icon

HAP

Interact with HAP (Hyper Application Platform) API

Overview

This node interacts with the Hyper Application Platform (HAP) API to manage roles within an application. Specifically, the "Delete" operation for the "Role" resource allows users to delete a role by specifying its unique Role ID. This is useful in scenarios where roles are no longer needed or must be removed to maintain proper access control and security.

Practical examples include:

  • Removing obsolete or deprecated roles from your system.
  • Cleaning up roles after organizational changes.
  • Automating role lifecycle management as part of a larger workflow.

Properties

Name Meaning
Role ID The unique identifier of the role to delete

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will confirm whether the deletion was successful or provide details if it failed. The exact structure depends on the HAP API response but generally includes status information.

No binary data output is expected for this operation.

Dependencies

  • Requires an API key credential for authenticating with the HAP API.
  • The node expects the HAP API endpoint to be accessible and properly configured.
  • No additional external dependencies beyond the HAP API and its authentication.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Role ID will likely cause the API to return an error indicating the role could not be found.
    • Authentication failures due to missing or incorrect API credentials.
    • Network connectivity issues preventing access to the HAP API.
  • Error messages and resolutions:

    • "Role not found": Verify that the Role ID is correct and exists in the system.
    • "Unauthorized" or "Authentication failed": Check that the API key credential is correctly set up and has sufficient permissions.
    • Timeout or network errors: Ensure the HAP API service is reachable from your environment.

Links and References

Discussion