Deleted custom field enum option through API

Hi,

I understand that deleted enum options of a custom field do not get “deleted” rather the enabled value is set to False. When I pull all enum options for a custom field, I can see the “deleted” options. If I attempt to create a new enum option for the custom field, the API throws an error that it already exists. Should I be able to update the enum option by setting enabled back to True? Or, what is the proper way of restoring one? (In the UI, it lets me create a “new” option with the same name and it keeps the original gid.)

Thanks!

Hi,

I am not sure you can restore an option, did you simply try the call? Indeed you can’t in the UI.