You are here:
InsCensusService:deleteMembers
Use this service to delete the members from a census.
Method: deleteMembers
How It Works
-
The service takes the members in an input JSON and deletes them from the given census Id.
-
Works for both
getMembersandgetMembersWithPlansin an OmniScript. -
Guest user access is enabled for this service.
Remote Options
Option |
Description |
|---|---|
|
Required. ID of the census with members to delete. |
|
Required. Input JSON of the members to be deleted. |
Input JSON
The input JSON includes headers, which lists the Group Census
Member fields, and the list of members that must be deleted. Id field is the
required field for both headers and members.
{
"headers": [
{
"type": "STRING",
"label": "Id",
"fieldId": "",
"name": "Id"
}
],
"members": [
{
"Id": "12345678"
},
{
"Id": "12345679"
},
{
"Id": "12345677"
}
}
