Skip to content

ctk users

Get the currently authenticated user.

Terminal window
ctk users me

Output:

User: Jane Smith
Account ID: 5b10ac8d82e05b22cc7d4ef5
Email: jane.smith@example.com
Type: atlassian

Search for users by name or email.

Terminal window
ctk users search "jane"
ctk users search "jane" --max 5

Output:

Account ID Name Type
──────────────────────────────────────────────────────────
5b10ac8d82e05b22cc7d4ef5 Jane Smith atlassian
5b10ac8d82e05b22cc7d4ef6 Jane Doe atlassian
Showing 2 users
FlagDescription
--maxMaximum number of results to return
--jsonOutput raw JSON response

All commands support --json:

Terminal window
ctk users me --json
ctk users search "jane" --json