Stock warehouses

Убрать человека из списка «Работают на складе»

Changed on

Человек перестаёт работать на складе (ERP-1978); у роли «Склады: свои» склад и его остатки ему больше не видны. Нужно право stock.settings:write.

delete/api/v1/stock/warehouses/{id}/staff/{userId}

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate
    • or HTTP bearer

Path parameters

id, string uuid required
userId, integer required

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

    5 more changes in this revision