NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Sales Role → Remove record

AI-generated

Summary

Delete a Sales Role record in NetSuite by its internal identifier, optionally requesting asynchronous execution and providing an idempotency key.

Inputs

  • id (required) — Internal identifier of the Sales Role record to delete.
  • isDebugMode — Whether to include full request and response details in the output for debugging.
  • authMethod — Authentication method to use, either OAuth1 or OAuth2; defaults to OAuth1.
  • Prefer — Server behavior preference; setting to 'respond-async' executes the delete request asynchronously.
  • X-NetSuite-Idempotency-Key — User-defined unique UUID string to identify asynchronous requests uniquely, ensuring idempotent execution.

Output shape

a single JSON response object representing the outcome of the delete request

If 'Debug Mode' is enabled, the output includes full HTTP request and response details. If 'Prefer' is set to 'respond-async', the server may return a response indicating asynchronous processing. Only one request per unique idempotency key is executed for async requests.

Links

Discussion