linLinear CLI
Commands

lin user

Inspect and manage workspace users

Inspect and manage workspace users

lin user change-role

Change a user's workspace role (workspace admin only)

lin user change-role <email|id>
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing
--rolestring-target role: admin, user or guest

lin user get

Show one user

lin user get <email|id|me>

Examples

lin user get me
lin user get [email protected]

lin user list

List workspace users

lin user list
FlagTypeDefaultDescription
--active-onlyboolfalseonly active users
--all, -aboolfalsefollow cursors until exhaustion
--cursorstring-resume from a previous next_cursor
--limit, -lint50page size

lin user suspend

suspend a user (workspace admin only)

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

lin user unsuspend

unsuspend a user (workspace admin only)

lin user unsuspend <email|id>
FlagTypeDefaultDescription
--dry-run, -nboolfalseprint the intended operation and variables without executing

lin user update

Update a user's profile

lin user update <email|id|me>
FlagTypeDefaultDescription
--descriptionstring-profile description
--display-namestring-display name
--dry-run, -nboolfalseprint the intended operation and variables without executing
--namestring-full name
--status-emojistring-status emoji
--status-labelstring-status label
--timezonestring-IANA timezone
--titlestring-job title

On this page