Delete decision table via API

Hi,

Can I delete decision tables using the API? Seems only the process definitions can be deleted.

Hi @thearlaicheachaig,

If you are meaning REST API, not java API and if you have deployment id of your decision table, you can delete your decision table via REST API.

Here is the endpoint.

https://docs.camunda.org/rest/camunda-bpm-platform/7.20/#tag/Deployment/operation/deleteDeployment

I hope this helps.

Hi @Mert_Mahanoglu,

I do mean the Rest API. If I delete the deployment, do I also delete the latest versions of other processes and decision tables that were part of the same deployment?

Hi again @thearlaicheachaig,

If you deployed other processes with your decision tables at the same request, all definitions(process definitions, decision table definions etc.) will have same deployment id. So, if you delete with this deployment id, all definitions(process definitions, decision table definions in same deployment) in that deployment will be deleted.

It works as you say so.

1 Like