Live Activity is not ending via CURL request in IOS 16

I have created a live activity widget and it is updating with the curl request but while performing the ending of the activitiy via curl request it is not working and also live activity should be gone from the lock screen.

curl -v
--header "apns-topic:{ App Bundle ID}.push-type.liveactivity"
--header "apns-push-type:liveactivity"
--header "authorization: bearer $AUTHENTICATION_TOKEN"
--data
'{"aps": { "timestamp":1663300480, "dismissal-date":1670317500, "event": "end", "content-state": { "Title": "Order Delivered", "Messafe": "Completed" }, "alert": { "title": "Update", "body": "Order delivered!" } }}'
--http2
https://${APNS_HOST_NAME}/3/device/$DEVICE_TOKEN

Live Activity is not ending via CURL request in IOS 16
 
 
Q