Settings companies
Удалить юрлицо без операций
Changed onУдаляет юрлицо, заведённое ошибочно, если его ничто не держит. Юрлицо с движениями, документами, счетами, складами или сотрудниками не удаляется: ответ 409 с кодом settings.company.in_use называет держателей словами на языке запроса и советует отключить юрлицо, а не удалять. Держателей заранее показывает settingsGetCompanyUsage.
delete/api/v1/settings/companies/{id}
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or API key in header X-Api-Key
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
Path parameters
id, 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
7 more changes in this revision
- info