---
title: "Change a project's Shield entry"
method: PUT
path: "/projects/{project_id}/shield/entries/{entry_id}"
tags: ["Shield"]
---

# Change a project's Shield entry

`PUT /projects/{project_id}/shield/entries/{entry_id}`

## Request

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

## Path parameters

- `project_id` integer, required
- `entry_id` integer, required

## Request body

- UpdateShieldEntryRequest: Replaces an entry's verdict, note and expiry; what it matches stays.
  - `expires_at` string, date-time, nullable
  - `note` string, nullable
  - `verdict` 'allow' | 'log' | 'challenge' | 'block', required: The verdict an operator entry gives what it matches.

## Response `200`

Entry changed

- ShieldEntryResponse
  - `created_at` string, date-time, required
  - `created_by` integer, nullable
  - `expires_at` string, date-time, nullable: After this the entry no longer applies; `null` for never.
  - `id` integer, required
  - `ja4` string, nullable: The fingerprint, when the entry names one.
  - `network` string, nullable: The address range, when the entry names one.
  - `note` string, nullable
  - `project_id` integer, nullable
  - `scope` 'platform' | 'project', required: Whose entries: the platform's, or one project's.
  - `verdict` 'allow' | 'log' | 'challenge' | 'block', required: The verdict an operator entry gives what it matches.

## Other responses

- `400`: Invalid note or expiry
- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Entry not found in this project
- `500`: Internal server error

## Changes

- **2026-11-09** `12896146b193`: 5 breaking
  - removed the required property `extensions` from the response with the `400` status
  - 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
  - …1 more
- **2026-10-28** `10fa9e6c6f35`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/shield/entries/:entry_id/put.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)
