Remove a ZopanelCache-* or ZopanelApp-* service whose cache or site the panel has no record of; provider only; audited
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
POST
/api/v1/tenants/{tid}/servers/{id}/services/remove-orphanRemove a ZopanelCache-* or ZopanelApp-* service whose cache or site the panel has no record of; provider only; audited (ADR 0105)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
id | path | string | required | |
X-CSRF-Token | header | string | optional | Required on unsafe requests authenticated by session cookie; API keys do not use it. |
Request body
required
Content type: application/json
object
- no other properties
servicestring requiredconfirm_configboolean optionalRemove it although its configuration folder is still on the server (the folder is kept)
Example
{
"service": "string",
"confirm_config": true
}Responses
200 What the server did
Content type: application/json
servicestring requiredremovedboolean requiredfalse when the service was already gone
config_presentboolean requiredacl_cleanedarray<string> optional
Example
{
"service": "string",
"removed": true,
"config_present": true,
"acl_cleaned": [
"string"
]
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required