Files
leadchat/swagger/paths/inboxes/update.yml
Sojan Jose 4feca1d88d Feature: Business logo API for web widget (#674)
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com>
2020-04-07 10:19:19 +05:30

38 lines
877 B
YAML

patch:
tags:
- Inbox
operationId: updateInbox
summary: Update Inbox
description: Add avatar and disable auto assignment for an inbox
parameters:
- name: id
in: path
type: number
description: ID of the inbox
required: true
- name: data
in: body
required: true
schema:
type: object
properties:
enable_auto_assignment:
type: boolean
required: true
description: 'Enable Auto Assignment'
avatar:
type: file
required: false
description: 'Image file for avatar'
responses:
200:
description: Success
schema:
type: object
description: 'Updated inbox object'
$ref: '#/definitions/inbox'
404:
description: Inbox not found
403:
description: Access denied