v1
latestOpenAPI 3.0.12026-08-041753011.2 MBUser
Update a member's profile
patch/v1/workspaces/{workspaceId}/member-profile/{userId}
Path parameters
workspaceIdstring required
Represents a workspace identifier across the system.
Example:64a687e29ae1f428e7ebe303
Represents a workspace identifier across the system.
userIdstring required
Represents a user identifier across the system.
Example:5a0ab5acb07987125438b60f
Represents a user identifier across the system.
Request body
Example request
{
"imageUrl": "https://www.url.com/imageurl-1234567890.jpg",
"name": "John Doe",
"userCustomFields": [
{
"customFieldId": "5e4117fe8c625f38930d57b7"
}
],
"weekStart": "MONDAY",
"workCapacity": "PT7H",
"workingDays": "[\"MONDAY\",\"TUESDAY\",\"WEDNESDAY\",\"THURSDAY\",\"FRIDAY\"]"
}Response
OK
Example response
{
"email": "johndoe@example.com",
"imageUrl": "https://www.url.com/imageurl-1234567890.jpg",
"name": "John Doe",
"userCustomFieldValues": [
{
"customField": {
"allowedValues": [
"New York",
"London",
"Manila",
"Sydney",
"Belgrade"
],
"description": "This field contains a location.",
"entityType": "USER",
"id": "44a687e29ae1f428e7ebe305",
"name": "location",
"placeholder": "Location",
"projectDefaultValues": [
{
"projectId": "5b641568b07987035750505e",
"status": "VISIBLE"
}
],
"status": "VISIBLE",
"type": "DROPDOWN_MULTIPLE",
"workspaceId": "64a687e29ae1f428e7ebe303"
},
"customFieldId": "5e4117fe8c625f38930d57b7",
"name": "race",
"sourceType": "WORKSPACE",
"type": "DROPDOWN_MULTIPLE",
"userId": "5a0ab5acb07987125438b60f"
}
],
"weekStart": "MONDAY",
"workCapacity": "PT7H",
"workingDays": "[\"MONDAY\",\"TUESDAY\",\"WEDNESDAY\",\"THURSDAY\",\"FRIDAY\"]",
"workspaceNumber": 3
}