removing an array within an array in a api code example Example: remove object from array javascript someArray.splice(x, 1);