WIth openstack swift I can set a date for an object to be expired. After this date or at this date a daemon will take care of delete the object. But if I regreat and want to cancel the expiration date, how can I do it ?
According to the documentation, you can cancel an expiration by removing the "X-Delete-At" header from the object:
$ swift post CONTAINER <OBJECT_FILENAME> -H "X-Remove-Delete-At:"
Obviously ... you need to do this before the object's scheduled deletion time.