GoChat
  • Overview
  • Demo App
  • SDK Integration
  • Client-Side Implementation
  • GoChat Cloud Service
  • Server APIs
  • Error codes
  • Documentation
  • GoChat
  • Server APIs
  • Log Out

Log Out

Last updated:2022-03-22 13:06

1 Description

Logs out of the GoChat backend service.

Rate limit: 10 requests / second.

2 Request Method and Endpoint

  • Request method: POST
  • Request endpoint: /chat_room/logout
  • Content-Type: application/json

3 Request Parameters

Parameter Type Required Example Description
uid Int32 Yes 117272372 User ID.

4 Request Example

{
  "uid":117272372,
}

5 Response Parameters

None.

6 Response Example

{
  "ret": {
    "code": 0,
    "message": "succeed"
  }
}

7 Return Codes

Return Code Description
80001 Incorrect parameter.
80012 The user is offline.
Page Directory