DELETE
/
systems
/
{systemId}
import Scorecard from 'scorecard-ai';

const client = new Scorecard({
  bearerToken: process.env['SCORECARD_API_KEY'], // This is the default and can be omitted
});

async function main() {
  const system = await client.systems.delete('12345678-0a8b-4f66-b6f3-2ddcfa097257');

  console.log(system.success);
}

main();
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

systemId
string
required

The ID of the system to delete.

Example:

"12345678-0a8b-4f66-b6f3-2ddcfa097257"

Response

200
application/json
System deleted successfully
success
boolean
required

Whether the deletion was successful.