You are here:
InsCensusServiceStd:deleteMembers
Use this service to delete the group census members.
Class: InsCensusServiceStd
Method: deleteMembers
How It Works
The service uses censusMemberIds as the input parameter to retrieve the list of GroupCensusMember records and delete these records from the given census Id. It first deletes all the dependent members and then deletes the primary members.
Primary members with dependents are not deleted.
Remote Options
Option |
Description |
|---|---|
|
Required. List of |
Input JSON
Here's the sample input JSON:
IDs of GroupCensusMember records
{
"censusMemberIds": [
"0r6RO0000000430YAA",
"0r6RO000000042vYAA"
]
}Ids of Contact records
{
"accountIds": [
"003RO000002yi8iYAA",
"003RO000002yi8dYAA"
]
}Output JSON
The service doesn't returns an output JSON. It deletes the group census member records as per the specified input.

