Skip to main content

Restore archived configuration

Admin-only. Un-archives a previously deleted config.

Request

Method: POST
Path: /api/apps/{id}/restore

Authentication: Not required

Parameters

NameTypeInRequiredDescription
idstringpathYes

Responses

200 - Restored

403 - Requires admin role

Examples

cURL

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

JavaScript

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

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

This documentation is automatically generated from the OpenAPI specification.