Skip to content

Auth

Exchange PAT for JWT, save to profile

Terminal window
retask auth login

Clear cached JWT from active profile

Terminal window
retask auth logout

Print identity and workspace membership for the active token. Output: user_nrn, workspace_id, jwt_expires, endpoint, workspace_member.{nrn, role, membership_status, display_name, name, email, joined_at}

Terminal window
retask auth whoami

List PATs for current user

Terminal window
retask auth pat list

Create a new PAT

Flags: --name, --description, --expires-at

Terminal window
retask auth pat create --name ci-bot

Revoke a PAT by ID

Terminal window
retask auth pat revoke <pat-id>