---
title: "Revert Condition Library Import"
method: POST
path: "/api/v1/condition-template-imports/{import_id}/revert"
tags: ["condition_templates"]
---

# Revert Condition Library Import

`POST /api/v1/condition-template-imports/{import_id}/revert`

## Request

- Base URL: `https://api.rudus.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rudus.ai/api/v1/condition-template-imports/{import_id}/revert`
- Auth: none declared
- TypeScript: <https://skmtc.dev/rudus/apis/rudus-api/docs/api/v1/condition-template-imports/:import_id/revert/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `import_id` string, uuid, required

## Response `200`

Successful Response

- RevertImportResponse
  - `import_id` string, uuid, required
  - `templates_deleted` integer, required
  - `templates_kept` KeptTemplate[], required
    - `id` string, uuid, required
    - `name` string, required
    - `row_version` integer, required

## Other responses

- `4XX`: Client Error
- `5XX`: Server Error

---

[API](https://skmtc.dev/rudus/apis/rudus-api.md) - [All operations](https://skmtc.dev/rudus/apis/rudus-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rudus/apis/rudus-api/revisions/5673f72c8a5d?raw)
