Loading
The online Trailblazer Community becomes read-only Oct 30, 2026Read More
Important Advisory: iOS Update Impacting CG Mobile ApplicationRead More
Insurance
InsCensusService:deleteMembers

InsCensusService:deleteMembers

Use this service to delete the members from a census.

Important
Important From Winter '23 onward, we have InsCensusServiceStd:deleteMembers service enabled to work with Salesforce Standard Data Model for Financial Services Cloud and Health Cloud. Existing customers can continue to use this service, but no further enhancements will be provided in the Insurance Managed Package.

Class: InsCensusService

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 getMembers and getMembersWithPlans in an OmniScript.

  • Guest user access is enabled for this service.

Remote Options

Option

Description

censusId

Required.

ID of the census with members to delete.

census

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"
        }
}

Output JSON

The service does not return an output JSON.

 
Loading
Salesforce Help | Article