Update a Team Member
As an owner/Admin, you may want or need to update the details of your team members.
For illustrate, if you want to:
- 1.To change the activation status of your team members.
- 2.Change the role of the team member. This may affect the rights given to them to use the workspace.
put
https://{{workspace}}.myeshopbox.com/api
/v1/user-account-mapping/:id
Update team by ID
cURL
curl -X PUT https://{{workspace}}.myeshopbox.com/api/v1/user-account-mapping/:id \
-H "Authorization: Bearer XXXX" \
-H "Content-Type: application/json" \
-d $'{
"data": {
"role": "user",
"userGroups": [
{
"accountId": 28,
"groupName": "Operations",
"id": 89,
"createdAt": "2019-04-08T12:41:05.000+05:30",
"updatedAt": "2019-04-08T12:41:05.000+05:30"
"groupId": 89
}
],
"status": "2"
}
}'
Last modified 2yr ago