Modules

filter

 

Objects/Functions

module (N/keyControl)

SuiteScript 2.0

keyControl.deleteKey(options)

{keyControl}.deleteKey({scriptId: {string*}})

N/keyControl Module
keyControl.deleteKey()
Method Description: Deletes a key.
Returns: Object
Supported Script Types: Server-side scripts For additional information, see SuiteScript 2.0 Script Types.
Governance: 10 units
Module: N/keyControl Module
Since: 2019.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=keyControl.deleteKey(options)

Example:

// Code Example 1
// Add additional code
//...
var keyId = keyControl.deleteKey({
scriptId: 'key_test'
});;
//...
// Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_1557417847.html