Skip to main content
DELETE
/
records
/
{recordId}
JavaScript
import Scorecard from 'scorecard-ai';

const client = new Scorecard({
  apiKey: 'My API Key',
});

const record = await client.records.delete('777');

console.log(record.success);
{
  "success": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

recordId
string
required

The ID of the Record to delete.

Example:

"777"

Response

Record deleted successfully

success
boolean
required

Whether the deletion was successful.