Function: getProfile()
ts
function getProfile(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
account: {
[key: string]: unknown;
account_id: string;
account_status: "active" | "inactive" | "closed" | string & object;
account_type: string & object | "atlassian" | "app" | "customer";
characteristics?: {
[key: string]: unknown;
not_mentionable?: boolean;
};
email: string;
extended_profile?: {
[key: string]: unknown;
department?: string;
job_title?: string;
location?: string;
organization?: string;
};
locale?: string;
name: string;
nickname: string;
picture: string;
zoneinfo?: string;
};
}>;Defined in: src/userManagement/api/profile.ts:8
Returns information about a single Atlassian account by ID
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { accountId: string; } | - |
parameters.accountId | string | The ID of the user |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; account: { [key: string]: unknown; account_id: string; account_status: "active" | "inactive" | "closed" | string & object; account_type: string & object | "atlassian" | "app" | "customer"; characteristics?: { [key: string]: unknown; not_mentionable?: boolean; }; email: string; extended_profile?: { [key: string]: unknown; department?: string; job_title?: string; location?: string; organization?: string; }; locale?: string; name: string; nickname: string; picture: string; zoneinfo?: string; }; }>