Delete inbox api doc update (#6930)
This commit is contained in:
@@ -310,8 +310,6 @@
|
|||||||
- $ref: '#/parameters/inbox_id'
|
- $ref: '#/parameters/inbox_id'
|
||||||
get:
|
get:
|
||||||
$ref: ./application/inboxes/inbox_members/show.yml
|
$ref: ./application/inboxes/inbox_members/show.yml
|
||||||
delete:
|
|
||||||
$ref: ./application/inboxes/inbox_members/delete.yml
|
|
||||||
|
|
||||||
/api/v1/accounts/{account_id}/inbox_members:
|
/api/v1/accounts/{account_id}/inbox_members:
|
||||||
parameters:
|
parameters:
|
||||||
@@ -320,6 +318,8 @@
|
|||||||
$ref: ./application/inboxes/inbox_members/create.yml
|
$ref: ./application/inboxes/inbox_members/create.yml
|
||||||
patch:
|
patch:
|
||||||
$ref: ./application/inboxes/inbox_members/update.yml
|
$ref: ./application/inboxes/inbox_members/update.yml
|
||||||
|
delete:
|
||||||
|
$ref: ./application/inboxes/inbox_members/delete.yml
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -3369,62 +3369,6 @@
|
|||||||
"description": "Access denied"
|
"description": "Access denied"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"delete": {
|
|
||||||
"tags": [
|
|
||||||
"Inboxes"
|
|
||||||
],
|
|
||||||
"operationId": "delete-agent-in-inbox",
|
|
||||||
"summary": "Remove an Agent from Inbox",
|
|
||||||
"description": "Remove an Agent from Inbox",
|
|
||||||
"security": [
|
|
||||||
{
|
|
||||||
"userApiKey": [
|
|
||||||
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"parameters": [
|
|
||||||
{
|
|
||||||
"name": "data",
|
|
||||||
"in": "body",
|
|
||||||
"required": true,
|
|
||||||
"schema": {
|
|
||||||
"type": "object",
|
|
||||||
"required": [
|
|
||||||
"inbox_id",
|
|
||||||
"user_ids"
|
|
||||||
],
|
|
||||||
"properties": {
|
|
||||||
"inbox_id": {
|
|
||||||
"type": "string",
|
|
||||||
"description": "The ID of the inbox"
|
|
||||||
},
|
|
||||||
"user_ids": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"type": "integer"
|
|
||||||
},
|
|
||||||
"description": "IDs of users to be deleted from the inbox"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"responses": {
|
|
||||||
"200": {
|
|
||||||
"description": "Success"
|
|
||||||
},
|
|
||||||
"404": {
|
|
||||||
"description": "Inbox not found"
|
|
||||||
},
|
|
||||||
"403": {
|
|
||||||
"description": "Access denied"
|
|
||||||
},
|
|
||||||
"422": {
|
|
||||||
"description": "User must exist"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/api/v1/accounts/{account_id}/inbox_members": {
|
"/api/v1/accounts/{account_id}/inbox_members": {
|
||||||
@@ -3558,6 +3502,62 @@
|
|||||||
"description": "User must exist"
|
"description": "User must exist"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"delete": {
|
||||||
|
"tags": [
|
||||||
|
"Inboxes"
|
||||||
|
],
|
||||||
|
"operationId": "delete-agent-in-inbox",
|
||||||
|
"summary": "Remove an Agent from Inbox",
|
||||||
|
"description": "Remove an Agent from Inbox",
|
||||||
|
"security": [
|
||||||
|
{
|
||||||
|
"userApiKey": [
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"name": "data",
|
||||||
|
"in": "body",
|
||||||
|
"required": true,
|
||||||
|
"schema": {
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"inbox_id",
|
||||||
|
"user_ids"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"inbox_id": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The ID of the inbox"
|
||||||
|
},
|
||||||
|
"user_ids": {
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"description": "IDs of users to be deleted from the inbox"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"responses": {
|
||||||
|
"200": {
|
||||||
|
"description": "Success"
|
||||||
|
},
|
||||||
|
"404": {
|
||||||
|
"description": "Inbox not found"
|
||||||
|
},
|
||||||
|
"403": {
|
||||||
|
"description": "Access denied"
|
||||||
|
},
|
||||||
|
"422": {
|
||||||
|
"description": "User must exist"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/api/v1/accounts/{account_id}/conversations/{conversation_id}/messages": {
|
"/api/v1/accounts/{account_id}/conversations/{conversation_id}/messages": {
|
||||||
|
|||||||
Reference in New Issue
Block a user