Updated fields didnt update the API

I have created a singleton model named “home”.

Home has several fields:
navbar, heroes section, etc.

After that, I fill in the navbar forms.

But because I changed my mind, I removed the navbar field from the singleton.

But when I try to use GET on Rest API. Field Navbar still exists

You can remove a renamed/deleted field with the cli:

cd /path/to/cockpit
php ./tower content:field:remove home navbar

See also: https://github.com/Cockpit-HQ/Cockpit/blob/develop/modules/Content/Command/Field/Remove.php