Toggle view/hide in Kanban View


In the Kanban view, when you click on the card you can select which fields can be either “viewed” or “hidden”.

Is there a way to do this through the API rather than manually?

In addition, is there a way to to arrange what is viewed/hidden per each specific card?

Thank you.