Qonto icon

Qonto

Consume Qonto API

Actions46

Insurance Contract → Delete Uploaded Document

AI-generated

Overview

This node operation deletes an uploaded document related to an insurance contract in the Qonto API. It is useful for managing insurance contract documents by removing outdated or incorrect files. For example, if a user uploads a PDF file to an insurance contract but later needs to remove it, this operation facilitates that deletion.

Use Case Examples

  1. Deleting a mistakenly uploaded PDF document from an insurance contract to keep records accurate.
  2. Removing an outdated insurance contract document before uploading a new version.

Properties

Name Meaning
Authentication Method of authentication to use for the API request, either 'Login and Secret-Key' or 'OAuth2'.

Output

JSON

  • success - Indicates whether the document deletion was successful.
  • message - A message confirming the deletion or providing additional information.

Dependencies

  • Qonto API credentials (either login and secret key or OAuth2 token)

Troubleshooting

  • Ensure the document ID and insurance contract ID are correctly specified; otherwise, the API may return an error indicating the document was not found.
  • Authentication errors may occur if the provided credentials are invalid or expired; verify the API credentials and refresh tokens if necessary.
  • Network or API endpoint issues can cause request failures; check connectivity and API status.

Discussion