NetSuite REST icon

NetSuite REST

Call NetSuite SuiteTalk REST operations.

Actions979

Sales Role → Remove record

AI-generated

Summary

Delete a Sales Role record in NetSuite by specifying its internal Id, optionally including debug information and async request preferences.

Inputs

  • Id (required) — Internal identifier of the Sales Role to delete.
  • Debug Mode — Include full request and response details in the output if enabled.
  • Additional Fields — Optional parameters to control request behavior, including async execution preference ('respond-async') and a user-defined idempotency key for async requests.

Output shape

a JSON object representing the response from the NetSuite REST API delete operation, including optionally detailed debug info if Debug Mode is enabled

Output may include full request and response details if Debug Mode is set to true. Asynchronous delete requests can be initiated by setting the 'Prefer' header to 'respond-async' in Additional Fields, which returns immediately with preference acknowledgement.

Examples

Example 1: Deleting a Sales Role record with Id 123

Set 'Id' to 123, optionally enable Debug Mode to capture full request and response info. Optionally specify 'respond-async' in Additional Fields to execute deletion asynchronously.

Discussion