Knowledge files
Удалить файл базы знаний
Changed onФайл снимается со страницы, стирается из объектного хранилища и уходит из поискового индекса вместе со своими фрагментами. Корзины у файла нет, восстановить его нельзя — только загрузить заново. Разметка [[file:id|имя]] в тексте страницы после удаления повисает и правится вручную. Нужен уровень «Редактирование» на странице.
delete/api/v1/knowledge/assets/{id}
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 выбранного кабинета; кабинет не является юрлицом
Response
Файл удалён
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
3 more changes in this revision
- info