Browse Platform API
Platform APIEnterprise

Delete a conversation group

Copy

Delete a conversation group owned by a user. This endpoint is available only in OpenIM Enterprise.

HTTP request

POST {API_ADDRESS}/conversation/delete_conversation_group

Request example

curl --request POST "${API_ADDRESS}/conversation/delete_conversation_group" \
  --header "Content-Type: application/json; charset=utf-8" \
  --header "operationID: ${OPERATION_ID}" --header "token: ${TOKEN}" \
  --data-raw '{"conversationGroupID":"conversation_group_001","ownerUserID":"user_001"}'

Request body

ParameterRequiredTypeDescription
conversationGroupIDYesstringConversation group ID.
ownerUserIDYesstringUser who owns the group.

Response

The common response has errCode: 0 when the group was deleted successfully.

Errors

See Error codes.

Permissions and limits

  • Available only in OpenIM Enterprise.
  • Deleting a group does not delete the conversations it contained.