mirror of
https://github.com/ZeroCatDev/Classworks.git
synced 2025-12-09 06:13:10 +00:00
40 lines
1012 B
YAML
40 lines
1012 B
YAML
tags:
|
|
- Conversations
|
|
operationId: update-conversation
|
|
summary: Update Conversation
|
|
description: Update Conversation Attributes
|
|
security:
|
|
- userApiKey: []
|
|
- agentBotApiKey: []
|
|
requestBody:
|
|
required: true
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: object
|
|
properties:
|
|
priority:
|
|
type: string
|
|
enum: ['urgent', 'high', 'medium', 'low', 'none']
|
|
description: 'The priority of the conversation'
|
|
example: 'high'
|
|
sla_policy_id:
|
|
type: number
|
|
description: 'The ID of the SLA policy (Available only in Enterprise edition)'
|
|
example: 1
|
|
responses:
|
|
'200':
|
|
description: Success
|
|
'401':
|
|
description: Unauthorized
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/bad_request_error'
|
|
'404':
|
|
description: Conversation not found
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '#/components/schemas/bad_request_error'
|