Delete Integration
DELETE/api/v2/instance/:instanceId/chatwoot-integration
Delete Integration
Request
Path Parameters
instanceId stringrequired
ID of the instance.
Responses
- 200
- 400
- 401
- 403
- 404
Success - status: 200
- application/json
- Schema
- Example (from schema)
Schema
integrationId stringrequired
enabled booleanrequired
accountId numberrequired
inboxId numberrequired
chatwootURL stringrequired
chatwootAccessToken stringrequired
enabledGroup booleanrequired
displayAttendant booleanrequired
startConversationAs stringrequired
Possible values: [pending
, open
]
createdAt date-timerequired
updatedAt date-timerequired
deletedAt date-timerequired
instanceInstanceId stringrequired
Webhook object
url Urlrequired
Instance unique url.
enabled Enabled
Default value: false
Enable or disable the url.
webhookId stringrequired
{
"integrationId": "string",
"enabled": true,
"accountId": 0,
"inboxId": 0,
"chatwootURL": "string",
"chatwootAccessToken": "string",
"enabledGroup": true,
"displayAttendant": true,
"startConversationAs": "pending",
"createdAt": "2024-04-14T14:11:05.736Z",
"updatedAt": "2024-04-14T14:11:05.736Z",
"deletedAt": "2024-04-14T14:11:05.736Z",
"instanceInstanceId": "string",
"Webhook": {
"url": "string",
"enabled": false,
"webhookId": "string"
}
}
BadRequestException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
UnauthorizedException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
ForbiddenException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
NotFoundException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
Loading...