Files
leadchat/swagger/paths/inboxes/update.yml
2020-03-11 16:19:13 +05:30

34 lines
765 B
YAML

patch:
tags:
- Inbox
operationId: disableAutoAssignment
summary: Disable auto assignment
description: 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'
responses:
200:
description: Success
schema:
type: object
description: 'Updated inbox object'
$ref: '#/definitions/inbox'
404:
description: Inbox not found
403:
description: Access denied