Permanently delete configuration (non-production only)
Admin-only. Hard-deletes the config, its entities, and its artifacts. Disabled when NODE_ENV=production.
Request
Method: DELETE
Path: /api/apps/{id}/purge
Authentication: Not required
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| id | string | path | Yes |
Responses
200 - Permanently deleted
403 - Requires admin role
404 - Route disabled in production
Examples
cURL
curl -X DELETE \
-H "Content-Type: application/json" \
http://localhost:3000/api/apps/{id}/purge
JavaScript
const response = await fetch('http://localhost:3000/api/apps/{id}/purge', {
method: 'DELETE',
headers: {
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);
This documentation is automatically generated from the OpenAPI specification.