interface GetUser {
    accountId?: string;
    expand?: string | string[] | ("groups" | "applicationRoles")[];
}

Properties

Properties

accountId?: string

The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5. Required.

expand?: string | string[] | ("groups" | "applicationRoles")[]

Use expand to include additional information about users in the response. This parameter accepts a comma-separated list. Expand options include:

  • groups includes all groups and nested groups to which the user belongs.
  • applicationRoles includes details of all the applications to which the user has access.