# DELETE for /runtime/process-instances/{processInstanceId} is not available

**URL:** <https://forum.flowable.org/t/delete-for-runtime-process-instances-processinstanceid-is-not-available/7817>\
**Category:** Flowable Engine\
**Created:** [May 4, 2021, 11:10am UTC](https://forum.flowable.org/t/delete-for-runtime-process-instances-processinstanceid-is-not-available/7817 "2021-05-04T11:10:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZiangShen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/ziangshen/32/2373_2.png) [@ZiangShen](https://forum.flowable.org/u/ZiangShen)\
**Post date:** [May 4, 2021, 11:10am UTC](https://forum.flowable.org/t/delete-for-runtime-process-instances-processinstanceid-is-not-available/7817/1 "2021-05-04T11:10:16Z")

</div>

When I use /runtime/process-instances/{processInstanceId} to delete a process instance, I get the following error:

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/flowable/original/2X/9/96a857ec8f04d1f0d3ced272fbbbd0e4d43a4718.png)

But the ProcessInstanceSource code does have this interface.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/flowable/original/2X/2/25a8c75cd2a04e7903eb071b316d82909abf653f.png)

Please tell me where the problem might be.

---

<div class="post-metadata">

**Author:** ![joram](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/joram/32/26_2.png) [@joram](https://forum.flowable.org/u/joram)\
**Post date:** [May 12, 2021, 9:54am UTC](https://forum.flowable.org/t/delete-for-runtime-process-instances-processinstanceid-is-not-available/7817/3 "2021-05-12T09:54:06Z")

</div>

You are passing the id as a parameter, after the ?. See the line you’ve drawn a red arrow to: it needs to be the id behind the /, like /

---

<div class="post-metadata">

**Author:** ![ZiangShen](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/ziangshen/32/2373_2.png) [@ZiangShen](https://forum.flowable.org/u/ZiangShen)\
**Post date:** [May 13, 2021, 2:19am UTC](https://forum.flowable.org/t/delete-for-runtime-process-instances-processinstanceid-is-not-available/7817/4 "2021-05-13T02:19:19Z")

</div>

Thanks for your kind help to solve this problem
