CRM links
Удалить файл карточки
Changed onОткрепляет файл от записи и удаляет его из хранилища; в ленте записи остаётся факт «файл удалён». Удалить может ответственный по записи или руководитель, чья роль открывает записи этого ответственного: все записи раздела или записи своего отдела и подчинённых. Остальным — 403 crm.card_file_forbidden. Вернуть удалённый файл нельзя.
delete/api/v1/crm/{entity}/{id}/files/{fileId}
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
entity, 'lead' | 'deal' | 'customer' required
Тип записи CRM, у которой есть лента, заметки и дела: лид, сделка или клиент
id, string uuid required
fileId, string uuid required
Идентификатор файла карточки
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
5 more changes in this revision
- info