- Posts: 9
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
delete_participants in RPC
- someuser99
-
Topic Author
- Offline
- New Member
-
Less
More
3 years 9 months ago #184928
by someuser99
delete_participants in RPC was created by someuser99
Hello,
I have a problem with delete_participants rpc call. I want to delete a participant based on token using this method. The problem is that i don't get an error but an empty array back and the user is never deleted. See attachment (no_result).
I read through this post bugs.limesurvey.org/view.php?id=14601#c51064
I updated my lime survey version to Version 3.17.3+190429 and there is no audit log plugin enabled(plugin_attachment).
Also, the user has all the rights to delete a token and so on(permissions attachment).
Can some one explain how to successfully delete a participant?
I have a problem with delete_participants rpc call. I want to delete a participant based on token using this method. The problem is that i don't get an error but an empty array back and the user is never deleted. See attachment (no_result).
I read through this post bugs.limesurvey.org/view.php?id=14601#c51064
I updated my lime survey version to Version 3.17.3+190429 and there is no audit log plugin enabled(plugin_attachment).
Also, the user has all the rights to delete a token and so on(permissions attachment).
Can some one explain how to successfully delete a participant?
Attachments:
The topic has been locked.
- michaelsvenna
-
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
2 years 9 months ago #200728
by michaelsvenna
Replied by michaelsvenna on topic delete_participants in RPC
I have exactly the same problem. Were you ever able to solve this issue?
The topic has been locked.
2 years 9 months ago - 2 years 9 months ago #200736
by Joffm
And there is no issue, it was a misunderstanding of the TE.
He used the TOKEN:TOKEN, not he TOKEN:ID and a wrong syntax.
I use this without problems.
$response = $myJSONRPCClient->delete_participants(
$sessionKey,
$survey_id,
["6","12","14"]
);
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic delete_participants in RPC
So you also want to delete participants from the participants table.I have exactly the same problem
And there is no issue, it was a misunderstanding of the TE.
He used the TOKEN:TOKEN, not he TOKEN:ID and a wrong syntax.
I use this without problems.
$response = $myJSONRPCClient->delete_participants(
$sessionKey,
$survey_id,
["6","12","14"]
);
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 2 years 9 months ago by Joffm.
The topic has been locked.
- michaelsvenna
-
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
2 years 9 months ago #200747
by michaelsvenna
Replied by michaelsvenna on topic delete_participants in RPC
Ah yes. I got that one working also now....But i cannot delete responses

The topic has been locked.