403
⚠️ Client Error RFC 9110, Section 15.5.4

Forbidden

The server understood the request but refuses to authorize it.

Common Use

Authenticated but not authorized. The user lacks permissions for this resource. Unlike 401, re-authenticating won't help.

API Endpoint

https://codes.uncodigo.com/http/403

Example with curl

curl -i https://codes.uncodigo.com/http/403

Try It

GET /http/403
Click "Send Request" to see the response...

Example

Request

DELETE /api/users/1 HTTP/1.1
Authorization: Bearer token123

Response

HTTP/1.1 403 Forbidden

{"error": "Admin privileges required"}