Oct 17, 2019 04:03 AM
I’m looking at removing all collaborators from a cell.
I have attempted to send different variations of data and always receive 422.
I’ve tried to:
I can always update it correctly with {‘id’ : ‘usrXXXXXXXXXX’}
I know I can send a valid request but I can’t send a valid request to clear the cell.
The cell is clearable in Airtable on the web interface, so I believe it can be done but the API documentation doesn’t say how to clear a cell with PATCH. Using PUT seems drastic to update a single cell by sending all the other data except that cells data.
For reference, most field types are an empty string apart from the checkbox which is the string “false”.
Solved! Go to Solution.
Oct 17, 2019 05:03 AM
I was using PATCH and trying to update the cell with an empty string, it turns out you just have to send Null. The same with all the other field types.
Oct 17, 2019 05:03 AM
I was using PATCH and trying to update the cell with an empty string, it turns out you just have to send Null. The same with all the other field types.