Delete a Key-Value Pair
If a key-value pair is no longer needed, it can be permanently deleted from the cache segment. The key-value pair cannot be restored once it is deleted.
The segment_service reference used below is already defined in the component instance page.
Delete using a Key
You can delete a key-value pair by passing the key name directly as a parameter to the delete() method.
#Delete a key-value pair segment_service.delete('Name')
Last Updated 2023-12-18 16:20:08 +0530 +0530
Send your feedback to us