import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const deploymentPackageJob = await client.deploymentPackages.installAsync('account_id');
console.log(deploymentPackageJob.deployment_package_job_id);
{
"deployment_package_job_id": "<string>",
"account_id": "<string>"
}
import SGPClient from 'sgp';
const client = new SGPClient({
apiKey: 'My API Key',
});
const deploymentPackageJob = await client.deploymentPackages.installAsync('account_id');
console.log(deploymentPackageJob.deployment_package_job_id);
{
"deployment_package_job_id": "<string>",
"account_id": "<string>"
}
Successful Response
The response is of type object
.