Platform APIEnterprise
Set conversation group order
Set the display order of multiple conversation groups for a user.
HTTP request
POST {API_ADDRESS}/conversation/set_conversation_group_orderRequest example
curl --request POST "${API_ADDRESS}/conversation/set_conversation_group_order" \
--header "Content-Type: application/json; charset=utf-8" \
--header "operationID: ${OPERATION_ID}" --header "token: ${TOKEN}" \
--data-raw '{"ownerUserID":"user_001","orders":[{"conversationGroupID":"conversation_group_001","order":1}]}'Request body
| Parameter | Required | Type | Description |
|---|---|---|---|
| ownerUserID | Yes | string | User who owns the groups. |
| orders | Yes | ConversationGroupOrder[] | Group IDs and their target order values. See ConversationGroupOrder. |
Response
The common response has errCode: 0 when the order was updated successfully.
Errors
See Error codes.
Permissions and limits
- Available only in OpenIM Enterprise.
- Supply each target group at most once.
Related pages
Was this page helpful?