Is it possible to undeploy a process by processDefintionKey?. I only see an api to undeploy by deploymentId. What if i have multiple processes as part of deployment and i want to undeploy only one process key?
A deployment is indeed the entry in Activiti to delete process definitions. So if it's likely that you want to delete a specific process definition you need to deploy each process definition in a separate deployment.