Mail accounts

Получить почтовые ящики сотрудника

Changed on

Видны личные ящики текущего сотрудника, общие ящики отдела и — у того, кому роль разрешает видеть все записи ресурса mail.account, — все ящики кабинета. Пароль подключения не возвращается ни здесь, ни где-либо ещё: его наличие показывает признак has_credentials.

get/api/v1/mail/accounts

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

Headers

X-Tenant, string required

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

Response

Доступные сотруднику ящики

object required
items, MailAccount[] required

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 reason to the response with the status

    1 more change in this revision