Back to Linear API
Linear API

TeamVisibility enum value 'protected' removed, renamed to 'restricted'

BreakingBreaking change

This is a breaking change — integrations that rely on the affected behaviour will need updates before the change rolls out.

What changed

The protected enum value in TeamVisibility has been removed and replaced with restricted. Any client code filtering, comparing, or serializing TeamVisibility.protected will break. Additionally, the Team.protected: Boolean! field has been removed; Team.restrictedBy and Team.restrictedById are its replacements (alongside the existing protectedBy). Several additive changes are also included: new DocumentContentHistoryCheckpointMode enum, DocumentContentHistoryCheckpointType type, DocumentContentHistoryTimelinePayload type, the documentContentHistoryTimeline query, a new documentContentId field on DocumentContentHistoryType, and autoArchivedAt on the release type.

Open the source documentation