Enneo

Wiki knowledge source structure

Set team ACL for a structure node

PUT /knowledgeSourceStructure/{id}/teams

PUT /knowledgeSourceStructure/{id}/teams

Replace-set the team access list for a structure node (folder, file-connector root, or website connector — any type). Passing an empty array removes all restrictions and makes the node visible to everyone. When non-empty, only users whose actualTeamIds intersect with this list (or users with no teams at all) can see the node and all its descendants.

Path parameters

idintegerpathrequired

No description.

Request body

teamsinteger[]bodyrequired

Team IDs to allow. Empty array removes all restrictions.

Request Example

{
  "teams": [
    1,
    5
  ]
}

Responses

200 — Successful operation

Response Example

{
  "success": true
}

404 — Structure node not found

500 — Internal error