Delete sharing participants
POST /nd/api/file/remove_share_participant
POST body parameters
| Parameter | Type | Description |
|---|---|---|
file_id |
string |
Required file ID |
babelshare_ids |
string[] |
Required array of sharing-record IDs to remove, taken from users[].babelshareId returned by Get all sharing participants. Do not substitute participantId. |
Scroll horizontally to view all columns
Example JSON request (identifiers are illustrative):
{
"file_id": "<FILE_ID>",
"babelshare_ids": ["1001", "1002"]
}
Response
Fields listed in the source: code, success.
Query participants with the same file_id, then collect the target records' babelshareId values into the array, preserving their string type.
Calling the Endpoint
Use Authorization: Bearer <access_token> and a JSON POST body. Check HTTP status and then the business result.