Skip to main content

Update Member

Update your Member account information.

Update Member

Updates the information associated with a Member. You can only update the current member (yourself).

 update_member( member: Member): Promise<Member>;
Parameter NameTypeDescription
memberMember objectInvitation details

Member

The Member object

A Note about Email

You cannot use this function to change your email at this time.

export interface Member {
id?: ID;
email: string; (DO NOT MODIFY)
first_name: string;
last_name: string;
language: string;
timezone: string;
locale: string;
image_url: string;
title: string;
linkedin?: string;
twitter?: string;
facebook?: string;
instagram?: string;
company_name: string;
department: string;
about_me?: string;
dob?: string;
work_anniversary?: string;
skills?: string[];
hobbies?: string[];
certifications?: string[];
accounts_num?: number;
profile_image?: File;
cover_image?: File;
cover_template?: number;
biography?: File;
}
Update Member

update_member( member: Member): Promise<Member>;-->

<script>
window.SmartSuite.update_member({ about_me: 'new about' }).then((res) => {
console.log('result =>>>', res);
});
</script>

Response

200 success
{
"email": "peter@smartsuite.com",
"first_name": "Peter",
"last_name": "Novosel",
"title": "Co-Founder & CTO",
"company_name": "SmartSuite",
"department": "Product Management",
"about_me": "new about",
"cover_template": 245,
"dob": "XXXX-11-01",
"work_anniversary": "2019-03-04",
"location_country": "United States",
"location_country_code": "",
"location_state": "Kansas",
"location_city": "Olathe",
"location_zip": "66062",
"location_address": "XXXXX West 166th Street",
"location_address2": "",
"location_point": {
"type": "Point",
"coordinates": [
"-94.80385869999999",
"38.826903"
]
},
"linkedin": "https://linkedin.com/in/peternovosel",
"twitter": "https://twitter.com/peternovosel",
"facebook": "https://www.facebook.com/pnovosel",
"instagram": "",
"skills": [
"Software as a Service (SaaS)",
"New Product Development",
"Executive Leadership",
"C#"
],
"hobbies": [
"Scuba Diving",
"64503233f462e75cb891dbce"
],
"certifications": [],
"biography": null,
"profile_image": {
"handle": "vZHaSuzwRGG8Mzf2OMrz",
"metadata": {
"container": "smart-suite-media",
"filename": "1114_Peter-Novosel_106 (2).jpg",
"key": "XBwDgeqToKjfKC5N1jeO_1114_Peter-Novosel_106 (2).jpg",
"mimetype": "image/jpeg",
"size": 1171191
},
"transform_options": {
"crop": {
"dim": [
332,
161,
2302,
2302
]
}
},
"security": {
"policy": "eyJjYWxsIjogWyJyZWFkIiwgImNvbnZlcnQiXSwgImV4cGlyeSI6IDE3MzQ3MzQ2NDEuMzQzOTE3LCAiaGFuZGxlIjogInZaSGFTdXp3UkdHOE16ZjJPTXJ6IiwgIm1heFNpemUiOiA1MDAwMDAwMDAwfQ==",
"signature": "fc6047513713a9afcddXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
},
"cover_image": null,
"locale": "en-US",
"timezone": "America/Chicago",
"language": "en",
"theme": "smartsuite_primary",
"file_security": {
"policy": "eyJjYWxsIjogWyJyZWFkIiwgImNvbnZlcnQiLCAicGljayIsICJzdG9yZSJdLCAiZXhwaXJ5IjogMTczNDczNDY0MS4zNDQ0NTJ9",
"signature": "7b1a888680aeba6XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
}