linLinear CLI
Commands

lin team

Inspect and manage teams

Inspect and manage teams

lin team create

Create a team

lin team create

Example

lin team create --name "Mobile" --key MOB
FlagTypeDefaultDescription
--colorstring-team color (hex)
--copy-settings-fromstring-team UUID to copy settings from
--descriptionstring-team description
--dry-run, -nboolfalseprint the intended operation and variables without executing
--iconstring-team icon name
--jsonstring-raw GraphQL input payload as JSON ('-' reads stdin); exclusive with per-field flags
--keystring-team key (issue prefix)
--namestring-team name
--privateboolfalsemake the team private
--timezonestring-team timezone (IANA name)

lin team cycles-delete

Delete all cycle data for a team, disabling cycles (requires --confirm)

lin team cycles-delete <key|id>
FlagTypeDefaultDescription
--confirmstring-confirm the destructive action by repeating the resource id
--dry-run, -nboolfalseprint the intended operation and variables without executing

lin team delete

Archive a team and schedule its data for deletion (requires --confirm)

lin team delete <key|id>
FlagTypeDefaultDescription
--confirmstring-confirm the destructive action by repeating the resource id
--dry-run, -nboolfalseprint the intended operation and variables without executing

lin team get

Show one team

lin team get <key|id>

Example

lin team get ENG

lin team key-delete

Delete a previously used team key (not the active one, requires --confirm)

lin team key-delete <team-key-id>
FlagTypeDefaultDescription
--confirmstring-confirm the destructive action by repeating the resource id
--dry-run, -nboolfalseprint the intended operation and variables without executing

lin team list

List teams

lin team list
FlagTypeDefaultDescription
--all, -aboolfalsefollow cursors until exhaustion
--cursorstring-resume from a previous next_cursor
--limit, -lint50page size

lin team member add

Add a user to a team

lin team member add

Example

lin team member add --team ENG --user [email protected] --owner
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing
--ownerboolfalsegrant team owner role
--team, -tstring-team key or UUID
--userstring-user email, UUID or "me"

lin team member list

List a team's memberships

lin team member list
FlagTypeDefaultDescription
--all, -aboolfalsefollow cursors until exhaustion
--cursorstring-resume from a previous next_cursor
--limit, -lint50page size
--team, -tstring-team key or UUID

lin team member remove

Remove a user from a team

lin team member remove <membership-id>
FlagTypeDefaultDescription
--also-leave-parentsboolfalsealso leave the parent teams
--dry-run, -nboolfalseprint the intended operation and variables without executing

lin team member update

Update a team membership (ownership, sort order)

lin team member update <membership-id>
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing
--ownerboolfalsegrant or revoke team owner role
--sort-orderfloat640membership sort order

lin team unarchive

Unarchive a team and cancel deletion

lin team unarchive <key|id>
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing

lin team update

Update a team

lin team update <key|id>
FlagTypeDefaultDescription
--colorstring-team color (hex)
--descriptionstring-team description
--dry-run, -nboolfalseprint the intended operation and variables without executing
--iconstring-team icon name
--jsonstring-raw GraphQL input payload as JSON ('-' reads stdin); exclusive with per-field flags
--keystring-team key (issue prefix)
--namestring-team name
--privateboolfalsemake the team private
--timezonestring-team timezone (IANA name)

On this page