Skip to content

Archive a rubric

DELETE/v5/rubrics/{rubric_id}

Archive a rubric (soft delete).

This is a soft delete, not a permanent one: it records an archived timestamp on the rubric while retaining the rubric and its version history, so it can later be brought back via the restore variant of the update endpoint. An archived rubric is hidden from the list endpoint but stays retrievable by id. The rubric’s criteria are left untouched — archiving does not cascade to or delete them. Archiving a rubric that is already archived is rejected.

Path ParametersExpand Collapse
rubric_id: string
ReturnsExpand Collapse
id: string
deleted: boolean
object: optional "rubric"

Archive a rubric

curl https://api.egp.scale.com/v5/rubrics/$RUBRIC_ID \
    -X DELETE \
    -H "x-api-key: $SGP_API_KEY"
{
  "id": "id",
  "deleted": true,
  "object": "rubric"
}
Returns Examples
{
  "id": "id",
  "deleted": true,
  "object": "rubric"
}