# 451 Unavailable For Legal Reasons

> The server operator has received a legal demand to deny access to the resource.

Source: https://apiguide.dev/status-codes/451
Class: client-error
Defined in: RFC 7725 <https://www.rfc-editor.org/rfc/rfc7725.html>
Updated: 2026-07-09

## What does HTTP status code 451 mean?

The 451 Unavailable For Legal Reasons status code (RFC 7725) indicates that the resource is inaccessible due to legal demands (e.g. copyright takedowns, censorship, or court orders).

## When to use it in APIs

Use when regional censorship, licensing limits, or court-mandated takedowns block API access to certain data subsets.

## How it compares to other codes

* **403 Forbidden**: A general permission failure. 451 is an explicit disclosure of legal restriction.
