Deleting organization works through web UI but not through API on self hosted #991

Closed
opened 2026-04-05 18:05:30 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @QuuR32 on 8/28/2025

Hello there,

First, thank you so much for the work done. The project is amazing and makes me want to use it and explore everything possible.

I've setup a self hosted application following this documentation, and everything for the API to work as explained here.

Everything works fine for the moment with the API, expect the DELETE /org/{orgId} endpoint. It's responding with a 500 status code and this content:

{
    "data": null,
    "success": false,
    "error": true,
    "message": "An error occurred...",
    "status": 500,
    "stack": null
}

Using the web UI, it works fine. It looks like the call made to https://my.panglin.webui.url/api/v1/org/{orgId} works but not to the internal API.

Any clue on that would help me a lot (I am building a terraform provider for pangolin).

Thanks

*Originally created by @QuuR32 on 8/28/2025* Hello there, First, thank you so much for the work done. The project is amazing and makes me want to use it and explore everything possible. I've setup a self hosted application following this [documentation](https://docs.digpangolin.com/self-host/manual/docker-compose), and everything for the API to work as explained [here](https://docs.digpangolin.com/self-host/advanced/integration-api). Everything works fine for the moment with the API, expect the DELETE /org/{orgId} endpoint. It's responding with a 500 status code and this content: ``` { "data": null, "success": false, "error": true, "message": "An error occurred...", "status": 500, "stack": null } ``` Using the web UI, it works fine. It looks like the call made to [https://my.panglin.webui.url/api/v1/org/{orgId}](https://my.panglin.webui.url/api/v1/org/{orgId}) works but not to the internal API. Any clue on that would help me a lot (I am building a terraform provider for pangolin). Thanks
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#991