How do you make an object type input not required in API

I have an API input that is an object type. For some reason, even though I have it marked as not required, I get the error:

{'code':'ERROR_CODE_INPUT_ERROR','message':'Missing param: external_id','param':'external_id'}

Inputs:

id [required], name (text) [not required], external_id (object - keys: type (text) [not required], value (text) [not required]) [not required]

If I test with just id, I get that error. The name is not required as expected.

Any thoughts on what I'm doing wrong?

11 replies