The bot can close threads in edna Chat Center by threadId and leave a closure comment. This operation is only allowed for the threads assigned to the bot.
Curl Example
$ curl 'http: //localhost:8080/api/v1/chatbot/close/1' -i -X POST \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <token>' \
-d '{
"comment": "comment"
}'
HTTP Request
POST /api/v1/chatbot/close/1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer <token>
Content-Length: 27
Host: localhost: 8080
{
"comment": "comment"
}
Example of a Successful HTTP Response
HTTP/1.1 200 OK