change space_authorized_spaces api