Skip to main content

Archive app configuration

Admin-only. Soft-delete — the config is marked archived and hidden from default listings but can be restored.

Request​

Method: DELETE
Path: /api/apps/{id}

Authentication: Not required

Parameters​

NameTypeInRequiredDescription
idstringpathYes

Responses​

200 - Archived​

403 - Requires admin role​

Examples​

cURL​

curl -X DELETE \
-H "Content-Type: application/json" \
http://localhost:3000/api/apps/{id}

JavaScript​

const response = await fetch('http://localhost:3000/api/apps/{id}', {
method: 'DELETE',
headers: {
'Content-Type': 'application/json',
},
});

const data = await response.json();
console.log(data);

This documentation is automatically generated from the OpenAPI specification.