clientCertificate.delete(options)
Method Description |
Method used to send a SSL secured request to a remote service and return the response.
Important:
If negotiating a connection to the destination server exceeds 5 seconds, a connection timeout occurs. If transferring a payload to the server exceeds 45 seconds, a request timeout occurs. |
Returns |
An https.ClientResponse Object |
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Governance |
10 units |
Module |
|
Since |
2019.2 |
Parameters
The options
parameter is a JavaScript object.
Parameter |
Type |
Required / Optional |
Description |
Since |
---|---|---|---|---|
|
string |
required |
The URL address of the remote server. |
2019.2 |
|
string |
required |
The ID of the client certificate. |
2019.2 |
|
object |
optional |
The HTTPS headers associated with the request. |
2019.2 |
Syntax
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/https/clientCertificate Module Script Sample.
// Add additional code
...
var response = cert.delete({
url: "https://anyurl.any",
certId: "custcertificate1" // replace with the ID of a predefined, existing certificate
});
...
// Add additional code