Skip to main content
DELETE
/
v1
/
criteria-library
/
{criterionId}
@nova-sdk/api
import { Nova } from "@nova-sdk/api";

const nova = new Nova({
  apiKey: "sk_test_...",
  tenantId: "acme-corp",
});

await nova.criteriaLibrary.delete("lib_abc123");
{
  "success": true
}
Job criteria aren’t affected. Removing a criterion from the library doesn’t affect any job criteria copied from it.

When to Use

Remove criteria from the library when:
  • Requirements no longer reflect your hiring practices
  • Pruning rarely-used criteria to keep the library focused

Behavior

ScenarioResult
Criterion existsDeleted, returns { success: true }
Criterion not foundReturns 404 error

Authorizations

Authorization
string
header
required

Use Authorization: Bearer sk_test_* or Authorization: Bearer sk_live_*.

Headers

X-Tenant-Id
string
required

Your customer identifier. Tenants are auto-provisioned on first request.

Idempotency-Key
string

Optional key that makes criteria and library mutation requests safe to retry without duplicating side effects. The namespace is shared across all API keys for the same partner and environment. Reuse the same key when retrying the same request parameters.

Required string length: 1 - 255

Path Parameters

criterionId
string
required

Criterion ID.

Response

Deleted

success
boolean
required