Gitea icon

Gitea

Interact with Gitea via API

Actions393

Overview

This node allows you to delete a user secret in the context of a User resource. It is useful when you need to remove sensitive information or credentials associated with a user, such as API tokens or other secrets stored for that user. For example, if a user's secret key has been compromised or is no longer needed, this operation helps maintain security by deleting it.

Properties

Name Meaning
Secretname The name of the secret to delete

Output

The node outputs JSON data representing the result of the delete operation. Typically, this would include confirmation of successful deletion or details about any error encountered. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential to authenticate requests.
  • Connects to a Gitea instance via its REST API at the base URL provided in the credentials.
  • The node uses standard HTTP headers for JSON content negotiation.

Troubleshooting

  • Common issues:

    • Providing an incorrect or non-existent secret name will likely cause the operation to fail.
    • Authentication errors may occur if the API key credential is missing or invalid.
    • Network connectivity problems to the Gitea server can prevent the request from completing.
  • Error messages and resolutions:

    • "Secret not found": Verify the secret name is correct and exists for the user.
    • "Unauthorized" or "Authentication failed": Check that the API key credential is properly configured and has sufficient permissions.
    • Timeout or connection errors: Ensure the Gitea server URL is reachable and the network is stable.

Links and References

Discussion