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

No it's an int in the db