Chat
Отправить чат в личный архив
Changed onУбирает чат из списка текущего участника (SUP-336). У других участников чат остаётся в списке; новое сообщение возвращает его в список.
put/api/v1/chat/conversations/{id}/archive
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
id, string uuid required
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Личная отметка архива
Chat Conversation Archive State required
conversation_id, string uuid required
archived_at, string date-time nullable required
Момент отметки; пусто — чат в списке
changed, boolean required
Была ли отметка изменена этим запросом
Changes
- info
endpoint added
- info