NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Time Sheet → Remove record

AI-generated

Summary

Delete a Time Sheet record from NetSuite using its internal identifier.

Inputs

  • id (required) — Internal identifier of the Time Sheet record to delete.
  • Authentication Method — Choose authentication between OAuth1 and OAuth2; defaults to OAuth1.
  • Debug Mode — Optional flag to include full request and response details in the output for debugging.
  • Additional Fields — Optional parameters including 'Prefer' header to request asynchronous execution ('respond-async') and an idempotency key to safely retry asynchronous requests.

Output shape

No data returned on success; only HTTP status and optional debug information are output.

If 'Debug Mode' is enabled, full request and response details are included in the output. The operation supports asynchronous deletion by setting the 'Prefer' header to 'respond-async', which returns immediately with acknowledgement instead of waiting for completion. An idempotency key can be provided for asynchronous requests to ensure one-time execution.

Examples

Example 1: Remove a Time Sheet record synchronously by ID

Set 'Id' to the Time Sheet's internal ID, leave 'Prefer' empty or unset, and optionally enable 'Debug Mode' for detailed output.

Example 2: Remove a Time Sheet record asynchronously

Set 'Id' to the Time Sheet's internal ID, set 'Prefer' to 'respond-async', and provide a unique 'X-NetSuite-Idempotency-Key'. Optionally enable 'Debug Mode'.

Links

Discussion