Knowledge access
Заменить состав участников пространства
Changed onСписок заменяется целиком. Правит его только владелец пространства: модульный knowledge:admin в закрытое пространство не входит, а закрытое пространство обязано сохранить хотя бы одного владельца-человека.
put/api/v1/knowledge/spaces/{id}/access
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
Path parameters
id, string uuid required
UUID пространства базы знаний
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Request body
Knowledge Space Access Input required
restricted, boolean required
grants, Knowledge ACLGrant[] required
Полный список; сохранённый состав заменяется им целиком
Response
Сохранённый состав участников
Knowledge Space Access Policy required
space_id, string uuid required
restricted, boolean required
grants, Knowledge ACLGrant[] required
Changes
- info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status
5 more changes in this revision
- info