This API updates an existing custom filter segment by its ID.
Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
For more information on authentication and getting your credentials, refer here.
This is the Workspace ID of your MoEngage account that must be passed with the request. You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
The ID of the custom segment.
The updated filter definition for the segment.
Request schema for updating an existing filter-based custom segment.
The updated filtering criteria for the segment. Users satisfying this set of filters will be part of the segment.
A new unique name for the custom segment.
Email of the user performing the update (e.g., [email protected]).
Custom segment updated successfully. Returns the updated segment details including the new filter definition and metadata.