NinjaOne icon

NinjaOne

Consume NinjaOne API

Actions158

Organization Documents → Delete Client Document

AI-generated

Overview

This node integrates with the NinjaOne API to manage various organizational resources. Specifically, for the "Organization Documents" resource and the "Delete Client Document" operation, it allows users to delete a client document by specifying its unique identifier. This is useful in scenarios where outdated or incorrect client documents need to be removed from the system to maintain data accuracy and compliance.

Practical example: A user wants to automate the cleanup of client documents that are no longer valid or required. By providing the client document ID, this node will send a request to delete that document from the organization's records.

Properties

Name Meaning
Client Document Id The unique numeric identifier of the client document to delete

Output

The node outputs a JSON object representing the response from the NinjaOne API after attempting to delete the specified client document. This typically includes confirmation of deletion or details about any errors encountered.

No binary data output is involved in this operation.

Dependencies

  • Requires an API authentication token configured via OAuth2 credentials for NinjaOne.
  • The node uses the NinjaOne API endpoints to perform operations.
  • Proper network access to the NinjaOne API service is necessary.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Client Document Id will likely result in an error response from the API.
    • Missing or expired API authentication tokens will cause authentication failures.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Errors returned from the NinjaOne API will be included in the node's output if "Continue On Fail" is enabled.
    • If the node throws an error, verify that the Client Document Id is correct and that the API credentials are valid and have sufficient permissions.

Links and References

Discussion