REST API for Latepoint icon

REST API for Latepoint

Consume REST API for LatePoint on Tools

Customers → Delete

AI-generated

Summary

Deletes a single LatePoint customer by ID by sending an authenticated DELETE request to the REST API's /customers/{id} endpoint.

Inputs

  • ID (required) — Unique identifier of the customer to delete. It is appended to the URL path as /customers/{id}. Can be set by an expression or filled by an AI agent.
  • Description — Free-text note describing the purpose of the call, intended as context for AI agents. The execute code does not read it, so it has no effect on the request.

Output shape

One output item per input item. Its json is the API response's data field if present. Otherwise it is the array items, or the raw response body.

No request body or query string is sent. The exact response shape depends on the LatePoint REST API, which the source does not show. With Continue On Fail enabled, a failed item yields {error: message} instead of stopping the workflow. Authentication uses the credential's base URL and API key as a Bearer token. Deletion is performed by the API and may be irreversible.

Examples

Example 1: Remove a customer after a GDPR erasure request

Resource: Customers; Operation: Delete; ID: ={{ $json.customer_id }}

Example 2: Let an AI agent delete a customer it has identified

Resource: Customers; Operation: Delete; ID filled by the agent from context; Description: 'Delete the duplicate customer record'

Links

Discussion