If you want to remove an item from an array in an API Designer interface you must use the
table.remove() function rather than setting the element to nil.
Note: Setting an element to
nil is a valid way of deleting a table element, and may be more appropriate than
table.remove() for some purposes.
However it is not compatible with the HTTP methods created by the API designer.
Setting an array element to nil does not work you must use the table.remove() function instead.
Always use the
table.remove() function to remove elements in arrays created by API Designer, see the example code here Delete a table element.