---
title: "Approve a proposal"
method: POST
path: "/settings/shield/proposals/{proposal_id}/approve"
tags: ["Shield"]
---

# Approve a proposal

`POST /settings/shield/proposals/{proposal_id}/approve`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/settings/shield/proposals/{proposal_id}/approve`
- Auth: HTTP bearer

The address or fingerprint is challenged or blocked on every ingress
until the proposal expires. Also changes an earlier rejection.

## Path parameters

- `proposal_id` integer, required

## Response `200`

Proposal approved

- ShieldProposalResponse: An address or fingerprint fleet learning proposes to challenge or block.
  - `decided_at` string, date-time, nullable
  - `decided_by` integer, nullable
  - `expires_at` string, date-time, required: After this the proposal, and an approval of it, no longer apply.
  - `first_seen` string, date-time, required
  - `hits` integer, required: Events behind it in the last learning window.
  - `id` integer, required
  - `kind` 'ip' | 'ja4', required: What a proposal names.
  - `last_seen` string, date-time, required
  - `reason` string, required: The evidence, as learning summarised it.
  - `status` 'pending' | 'approved' | 'rejected', required: Where a learned proposal stands. Only `approved` ones apply.
  - `subject` string, required: The address or the fingerprint.
  - `verdict` 'allow' | 'log' | 'challenge' | 'block', required: `challenge` or `block`.

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Proposal not found or expired
- `500`: Internal server error

## Changes

- **2026-11-09** `12896146b193`: 4 breaking
  - removed the required property `extensions` from the response with the `401` status
  - removed the required property `extensions` from the response with the `403` status
  - removed the required property `extensions` from the response with the `404` status
  - removed the required property `extensions` from the response with the `500` status
- **2026-10-28** `10fa9e6c6f35`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/settings/shield/proposals/:proposal_id/approve/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
