keecode logokeecode
401

Unauthorized

Client Error

Description

Authentication is required and has failed or has not been provided

Common Usage

User needs to log in; requires WWW-Authenticate header

Example Response

How this status code appears in HTTP responses

HTTP Response Header

HTTP/1.1 401 Unauthorized

cURL Example

curl -I https://example.com
# Returns: HTTP/1.1 401 Unauthorized