Change to DeleteMetadata to remove deleted resource