Adding support for provisioning api, setting archiving callback url and updating/deleting archiving storage config

these catchs are ugly and repeated in multiple places