Metabase APIs for dashboard cards


Metabase API documentation up to v0.46 describes two APIs to add/delete cards to/from existing dashboards, namely:

POST /api/dashboard/:id/cards
DELETE /api/dashboard/:id/cards

It seems to me that from v0.47 on these two APIs suddenly disappeared without even being deprecated. As a result a python script I have that use these now gets:

"API endpoint does not exist."

Is this expected?

Are there new ways to accomplish the same with Metabase versions > 0.46?

Thanks in advance!

Indeed there was a refactoring in which we removed post and delete endpoints. Everything now is handled by PUT, for reference

Thank you Tony, appreciated!

Will you update the documention for PUT /api/dashboard/:id/cards ?

Thanks again,

It is: