---
title: "Reset a default trust rule"
method: POST
path: "/v1/trust-rules/{rule_id}/reset"
tags: ["trust-rules"]
---

# Reset a default trust rule

`POST /v1/trust-rules/{rule_id}/reset`

## Request

- Base URL: `` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/trust-rules/{rule_id}/reset`
- Auth: none declared

Restores a default-origin rule to its registry risk and description, clearing userModified and deleted.

## Path parameters

- `rule_id` string, required

## Response `200`

Successful response

- object
  - `rule` object, required
    - `id` string, required
    - `tool` string, required
    - `pattern` string, required
    - `risk` 'low' | 'medium' | 'high', required
    - `description` string, required
    - `origin` 'default' | 'user_defined', required
    - `userModified` boolean, required
    - `deleted` boolean, required
    - `scope` string, nullable, required
    - `createdAt` string, required
    - `updatedAt` string, required

## Changes

- **2026-08-31** `31bccc7f554f`: 1 info
  - added the required property `rule/scope` to the response with the `200` status
- **2026-07-06** `f6ef510612fb`: 1 info
  - endpoint added
- **2026-06-15** `8aa43f77a604`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/vellum-ai/apis/vellum-gateway-api/changes/v1/trust-rules/:rule_id/reset/post.md)

---

[API](https://skmtc.dev/vellum-ai/apis/vellum-gateway-api.md) - [All operations](https://skmtc.dev/vellum-ai/apis/vellum-gateway-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vellum-ai/apis/vellum-gateway-api/revisions/48d611686235?raw)
