Replaces the share group definition, including its member list and the opportunities shared with the group.
PUT
/transact-workflow/v1/users/{userId}/ShareGroup/{shareGroupId}
curl \
--request PUT 'https://api.pre.lwolf.com/transact-workflow/v1/users/{userId}/ShareGroup/{shareGroupId}' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "lw-subscription-key: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"shareGroupId":"string","name":"string","opportunities":[{"opportunityId":"string"}],"members":[{"userId":"string","permissionLevel":1,"isActive":true}]}'
Request examples
{
"shareGroupId": "string",
"name": "string",
"opportunities": [
{
"opportunityId": "string"
}
],
"members": [
{
"userId": "string",
"permissionLevel": 1,
"isActive": true
}
]
}
Response examples (400)
{
"error": "string",
"message": "string"
}
Response examples (401)
{
"error": "string",
"message": "string"
}
Response examples (403)
{
"error": "string",
"message": "string"
}
Response examples (404)
{
"error": "string",
"message": "string"
}