Update a share group (add members and share)

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://apidocs.lwolf.com/doc/transact-api/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Transact API MCP server": {
    "url": "https://apidocs.lwolf.com/doc/transact-api/mcp"
  }
}

Close
PUT /transact-workflow/v1/users/{userId}/ShareGroup/{shareGroupId}

Replaces the share group definition, including its member list and the opportunities shared with the group.

Path parameters

  • userId string(uuid) Required

    Unique identifier (GUID) of the acting user. All Transact Workflow resources are scoped to a user.

  • shareGroupId string(uuid) Required

    GUID of the share group.

application/json

Body Required

  • shareGroupId string(uuid)

    GUID of the share group.

  • name string

    Display name of the share group.

  • opportunities array[object]

    Opportunities (transactions) shared with the group.

    Hide opportunities attribute Show opportunities attribute object
    • opportunityId string(uuid) Required

      GUID of the shared opportunity (transaction).

  • members array[object]

    Members of the share group and their permissions.

    Hide members attributes Show members attributes object
    • userId string(uuid) Required

      GUID of the member user.

    • permissionLevel integer

      Permission level code for the member. Observed value: 1. TODO: document the full list of code values and their meanings.

    • isActive boolean

      Whether the membership is active.

Responses

  • 200

    Successful response

  • 400 application/json

    The request is malformed or contains invalid parameters.

    Hide response attributes Show response attributes object
    • error string

      Error code or short error name.

    • message string

      Human-readable error description.

  • 401 application/json

    The access token is missing, invalid, or expired.

    Hide response attributes Show response attributes object
    • error string

      Error code or short error name.

    • message string

      Human-readable error description.

  • 403 application/json

    The caller is not permitted to perform this operation.

    Hide response attributes Show response attributes object
    • error string

      Error code or short error name.

    • message string

      Human-readable error description.

  • 404 application/json

    The requested resource does not exist.

    Hide response attributes Show response attributes object
    • error string

      Error code or short error name.

    • message string

      Human-readable error description.

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"
}