API referenceSections

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-orphan

Remove 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

NameInTypeRequiredDescription
tidpathstringrequired
idpathstringrequired
X-CSRF-Tokenheaderstringoptional

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
  • service string required
  • confirm_config boolean optional

    Remove 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

  • service string required
  • removed boolean required

    false when the service was already gone

  • config_present boolean required
  • acl_cleaned array<string> optional
Example
{
  "service": "string",
  "removed": true,
  "config_present": true,
  "acl_cleaned": [
    "string"
  ]
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required