Skip to main content
PUT
/
knowledgeSourceStructure
/
{id}
/
teams
Set team ACL for a structure node
curl --request PUT \
  --url https://demo.enneo.ai/api/mind/knowledgeSourceStructure/{id}/teams \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "teams": [
    1,
    5
  ]
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

JWT-based authentication

Path Parameters

id
integer
required

Body

application/json
teams
integer[]
required

Team IDs to allow. Empty array removes all restrictions.

Example:
[1, 5]

Response

Successful operation

Data format of Enneo success messages

success
boolean

Operation was successful

Example:

true