field Registered
Verified 2026-09-18 · registry updated 2026-08-28

Sunset

Communicates the date when a resource or endpoint will be removed.

Sunset answers when a resource disappears; the Deprecation field signals that a feature is deprecated. Send both when deprecating an API with a planned removal date.

httpheaderapilifecycle

Reference (http)

Sunset: Wed, 31 Dec 2026 23:59:59 GMT

Sunset answers when a resource disappears; the Deprecation field signals that a feature is deprecated. Send both when deprecating an API with a planned removal date.

Common mistakes

  • Sending Sunset without documentation of the replacement, or confusing it with the deprecation signal.

IANA registry: http-fields/field-names

Registry reference: RFC 8594: The Sunset HTTP Header Field

Related

Permalink: https://merginit.com/reference/http/field-sunset