Knowledge files

Удалить файл базы знаний

Changed on

Файл снимается со страницы, стирается из объектного хранилища и уходит из поискового индекса вместе со своими фрагментами. Корзины у файла нет, восстановить его нельзя — только загрузить заново. Разметка [[file:id|имя]] в тексте страницы после удаления повисает и правится вручную. Нужен уровень «Редактирование» на странице.

delete/api/v1/knowledge/assets/{id}

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Path parameters

id, string uuid required

UUID файла базы знаний

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Response

Файл удалён

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    3 more changes in this revision