Update Member Profile
PUT or PATCH
https://app.smartsuite.com/api/v1/members/{memberId}/
Update a Member profile. Responses are similar to List Records responses.
Example Request
curl -X PATCH https://app.smartsuite.com/api/v1/members/645109df887911e1871054b7/ \
-H "Authorization: Token YOUR_API_KEY" \
-H "ACCOUNT-ID: WORKSPACE_ID" \
-H "Content-Type: application/json" \
--data '{
"language": "en"
}'
The update endpoint supports two types of record updates, with a PUT request performing a “destructive” update that clears all values that are not specified in the update, and a PATCH request updating just those fields included in the request.
Path Parameters
Param | Type | Description |
---|---|---|
memberId | string | The Id of the Member to apply updates to. |
Request Body
| Param | Type | Description |
| :-: | :-: | :-: | :-- |
| member object | object
| A record object representing the Member to be updated. |
Response
200 - Example Response
{
"full_name": {
"title": "",
"first_name": "Joe",
"middle_name": "",
"last_name": "User",
"sys_root": "Joe User"
},
"company_name": "SmartSuite",
"department": "Testing",
"about_me": "This is a test user",
"job_title": "Tester",
"email": [
"test@smartsuite.com"
],
"status": {
"value": "1",
"updated_on": "2022-12-20T17:52:24.804000Z"
},
"type": "1",
"role": "1",
"locale": "en-US",
"timezone": "America/Chicago",
"language": "en",
"office_location": {
"location_address": "15549 West 166th Street",
"location_address2": "",
"location_zip": "66062",
"location_country": "United States",
"location_state": "Kansas",
"location_city": "Olathe",
"location_longitude": "-94.80385869999999",
"location_latitude": "38.826903",
"sys_root": ""
},
"work_anniversary": {
"date": "2019-03-04T00:00:00Z",
"include_time": false
},
"certifications": [],
"skills": [
"63f7a91e2ffc5a4ceaf051c4",
"63f7a91f2ffc5a4ceaf051c5",
"63f7a9202ffc5a4ceaf051c6",
"63f7a9212ffc5a4ceaf051c7"
],
"hobbies": [
"63f7a9222ffc5a4ceaf051c8",
"666206f268af3ed2602380ef"
],
"linkedin": [
"https://linkedin.com/in/peternovosel"
],
"twitter": [
"https://twitter.com/peternovosel"
],
"facebook": [
"https://www.facebook.com/pnovosel"
],
"instagram": [
""
],
"theme": "smartsuite_primary",
"dob": {
"date": "1970-11-01T00:00:00Z",
"include_time": false
},
"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
]
}
},
"created_on": "2024-06-06T18:58:59.037000Z",
"updated_on": "2024-06-06T18:58:59.037000Z",
"description": "",
"video_conversion_status": "",
"video_thumbnail_handle": "",
"converted_video_handle": "",
"file_type": "image",
"icon": "image"
}
],
"cover_image": [],
"cover_template": "245.0",
"biography": [],
"phone": [
{
"phone_country": "US",
"phone_number": "+1 913 553 7700",
"phone_extension": "",
"phone_type": 2,
"sys_root": "19135537700",
"sys_title": "+1 913 553 7700"
}
],
"teams": [
"63a1f65b23aaf6bcb564b1fd",
"63d1a954195ca92df675e5c9",
"64bad7fcab28cca9fcc0ea01",
"65ce93e5e6bd79eeaf37045d"
],
"ip_address": [
{
"address": "136.37.148.189",
"country_code": "US"
}
],
"last_login": {
"date": "2024-06-11T21:34:30.124000Z",
"include_time": true
},
"availability_status": {
"emoji": "",
"status": "",
"selected_interval": "",
"clear_after": {
"date": null,
"include_time": false
}
},
"first_created": {
"on": "2022-12-20T17:52:23.867000Z",
"by": "63a1f65723aaf6bcb564b1f1"
},
"last_updated": {
"on": "2024-06-06T18:58:58.862000Z",
"by": "63a1f65723aaf6bcb564b1f1"
},
"id": "63a1f65723aaf6bcb564b2f1",
"application_slug": "members",
"application_id": "63a1f65723aaf6bcb564b1f0",
"title": null,
"comments_count": 0,
"autonumber": null,
"ranking": {
"default": "aagckvjtea"
},
"deleted_date": {
"date": null,
"include_time": false
},
"deleted_by": null
}