Zum Hauptinhalt springen
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
}

Autorisierungen

Authorization
string
header
erforderlich

JWT-based authentication

Pfadparameter

id
integer
erforderlich

Body

application/json
teams
integer[]
erforderlich

Team IDs to allow. Empty array removes all restrictions.

Beispiel:
[1, 5]

Antwort

Successful operation

Data format of Enneo success messages

success
boolean

Operation was successful

Beispiel:

true