remove checks for required attributes

if attribute is required in api we should return error if not there