Update a thread from a chatroom

PATCH /chat/chatrooms/{id}/thread

Headers

Path parameters

  • id integer Required

    The chatroom id

application/json

Responses

  • 200 application/json

    Thread updated from the chatroom

    Hide response attribute Show response attribute object
  • 401 application/json

    Unauthorized.

    Hide response attribute Show response attribute object
  • Forbidden - You don't have permission to access this route

PATCH /chat/chatrooms/{id}/thread
curl \
 -X PATCH https://domain.tld/api/v2/chat/chatrooms/{id}/thread \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -H "X-Popsell-Brand: 3" \
 -d '{"thread_id":"string"}'
Request examples
# Headers
X-Popsell-Brand: 3

# Payload
{
  "thread_id": "string"
}
Response examples (200)
{
  "thread_id": "string"
}
Response examples (401)
{
  "message": "Unauthorized."
}