Actions35
- Order Actions
- Contact Actions
- Company Actions
- Files Actions
- Admin Actions
Company → Delete Company
AI-generatedOverview
This node integrates with the Decogro API to manage company data, specifically allowing users to delete a company by its ID. It is useful in scenarios where companies need to be removed from the Decogro system, such as cleaning up outdated or incorrect company records.
Use Case Examples
- Deleting a company by specifying its unique company ID to remove it from the Decogro database.
- Automating company data management workflows by programmatically deleting companies that meet certain criteria.
Properties
| Name | Meaning |
|---|---|
| Company ID | The unique identifier of the company to delete, required to specify which company to remove. |
Output
JSON
operation- The operation performed, e.g., 'deleteCompany'.data- The response data from the Decogro API after attempting to delete the company.metadatamethod- The HTTP method used for the request, which is DELETE for this operation.endpoint- The API endpoint that was called to delete the company.timestamp- The timestamp when the operation was performed.
Dependencies
- Requires an API key credential for Decogro API authentication.
Troubleshooting
- Ensure the Company ID provided is valid and exists in the Decogro system; otherwise, the API may return an error indicating the company was not found.
- If the API key credential is missing or invalid, authentication errors will occur; verify the API key is correctly configured in the node credentials.
- Network or connectivity issues may cause request failures; check network access to the Decogro API endpoint.
- Invalid JSON body errors are unlikely for this operation since it uses a DELETE request without a body, but malformed inputs in other operations may cause errors.
Links
- Decogro API - Delete Company - Official Decogro API documentation for deleting a company.