Delete Application
Permanently delete an application, its git connection, and every deploy. Object storage for the app's deploys is cleaned up best-effort.
The delete is blocked while any endpoint still points at the app — detach or delete those agentless endpoints first, then retry.
Response
204 No Content
Deleted. The response body is empty.
Errors
404 Not Found
Unknown application in the active account.
409 Conflict
One or more endpoints still serve this application. Delete them first.
Request
curl -X DELETE "https://api.ngris.com/v1/applications/a1b2c3d4-…" \
-H "X-API-KEY: <your_api_key>"
Response — 409 Conflict
{
"error": "application is still in use by one or more endpoints"
}