Platform APIEnterprise
Delete applications sent by a user
Delete join-application records sent by a user to selected groups. This endpoint is available only in OpenIM Enterprise.
HTTP request
POST {API_ADDRESS}/group/delete_group_requests_from_userRequest example
curl --request POST "${API_ADDRESS}/group/delete_group_requests_from_user" \
--header "Content-Type: application/json; charset=utf-8" \
--header "operationID: ${OPERATION_ID}" \
--header "token: ${TOKEN}" \
--data-raw '{"userID":"user_001","groupIDs":["group_001"]}'Enterprise: This endpoint requires the corresponding OpenIM Enterprise services.
Request body
| Parameter | Required | Type | Description |
|---|---|---|---|
| userID | Yes | string | User who sent the applications. |
| groupIDs | Yes | string[] | Groups whose application records are deleted. |
Response
The API returns the common response envelope. errCode is 0 when the records were deleted successfully.
{"errCode":0,"errMsg":"","errDlt":""}Errors
See Error codes.
Permissions and limits
- Available only in OpenIM Enterprise.
- The caller must validate its authority over the target user.
- Request array limits follow the delivered server version.
Related pages
Was this page helpful?