NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Topic → Remove record

AI-generated

Summary

Delete a Topic record from NetSuite by its internal identifier, optionally requesting asynchronous execution and idempotency.

Inputs

  • Id (required) — The internal identifier of the Topic record to delete.
  • Debug Mode — Whether to include full request and response details in the output.
  • Additional Fields — Optional parameters to control server behavior, including 'Prefer' header for asynchronous request ('respond-async') and an idempotency key ('X-NetSuite-Idempotency-Key') used with asynchronous requests to ensure a request is executed only once.

Output shape

a single JSON object containing the deletion result or execution status, optionally including full request and response details when Debug Mode is enabled.

If 'Prefer' is set to 'respond-async', the operation executes asynchronously and the response includes a 'Preference-applied: respond-async' header. The idempotency key has effect only when the request is asynchronous. Errors or server responses adhere to the NetSuite REST API specifications.

Examples

Example 1: Delete a Topic synchronously by Id

Set resource to 'Topic', operation to 'Remove record', provide the Id of the Topic, and leave Additional Fields empty or with default values.

Example 2: Delete a Topic asynchronously with idempotency

Set resource to 'Topic', operation to 'Remove record', provide the Id, set 'Prefer' under Additional Fields to 'respond-async', and provide a unique UUID string in 'X-NetSuite-Idempotency-Key' to ensure the request runs only once.

Discussion