---
title: "Clear importance scores"
method: POST
path: "/v1/admin/importance/clear"
tags: ["Admin"]
---

# Clear importance scores

`POST /v1/admin/importance/clear`

## Request

- Base URL: `http://api.technooptimist.io`
- URL: `http://api.technooptimist.io/v1/admin/importance/clear`
- Auth: HTTP bearer

Admin only. Removes the routine's scores from the listed programs (or from every program when `programs` is omitted), e.g. after a bad run. Owner overrides stay.

## Request body

- object
  - `programs` object[]
    - `company` string, required
    - `program` string, required

## Response `200`

Cleared

- object
  - `cleared` integer, required

## Other responses

- `401`: Missing or invalid credentials
- `403`: Credential lacks the required scope
- `422`: Validation failed

---

[API](https://skmtc.dev/technooptimist/apis/the-techno-optimist-api.md) · [All operations](https://skmtc.dev/technooptimist/apis/the-techno-optimist-api/llms.txt) · [OpenAPI document](https://skmtc.dev/technooptimist/apis/the-techno-optimist-api/revisions/b7bcde6a0f30?raw)
