38 lines
877 B
YAML
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
|