DELETE
/api/v1/extension-defaults/{id}/template
Gespeicherte Einrichtungsvorlage entfernen
Anfrage#
POSIX-Shell · curl
curl --fail-with-body --request DELETE \
"$ADBR_API_URL/api/v1/extension-defaults/{id}/template" \
-H "Authorization: Bearer $ADBR_API_TOKEN"Verwende lokale Adresse und Token aus API & MCP. Ersetze Pfadplatzhalter wie {id} durch tatsächliche IDs.
Authentifizierung und Rechte#
Authentifizierung: Bearer-Token
Scopes: extensions:write
Alle aufgeführten Scopes sind erforderlich; admin erfüllt Scope-Prüfungen. Kontorechte, Anfrageinhalt, Tresorzustand und Ressourcenrechte können weitere Voraussetzungen setzen.
Parameter#
| Parameter | Ort | Pflicht | Beschreibung |
|---|---|---|---|
id | path | Ja |
Vollständige Parameterschemas
OpenAPI JSON
[
{
"schema": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"in": "path",
"name": "id",
"required": true
}
]Anfragekörper#
Kein Anfragekörper deklariert.
Antworten#
200 · Standardantwort
OpenAPI JSON
{
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"extension_id",
"name",
"engine",
"enabled",
"use_template",
"template"
],
"properties": {
"extension_id": {
"type": "string"
},
"name": {
"type": "string"
},
"engine": {
"anyOf": [
{
"type": "string",
"enum": [
"chromium"
]
},
{
"type": "string",
"enum": [
"firefox"
]
}
]
},
"enabled": {
"type": "boolean"
},
"use_template": {
"type": "boolean"
},
"template": {
"anyOf": [
{
"type": "object",
"required": [
"revision",
"version_id",
"version",
"created_at",
"source_profile_id",
"source_name"
],
"properties": {
"revision": {
"type": "integer"
},
"version_id": {
"type": "string"
},
"version": {
"type": "string"
},
"created_at": {
"type": "integer"
},
"source_profile_id": {
"type": [
"string",
"null"
]
},
"source_name": {
"type": [
"string",
"null"
]
}
}
},
{
"type": "null"
}
]
}
}
}
}
}
}default · HTTP-Fehlerhülle. Status und error.code bezeichnen den Fehler.
OpenAPI JSON
{
"description": "HTTP error envelope. The status and error.code identify the failure.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}Allgemeine Authentifizierungs- und Transportfehler können zusätzlich zu den dokumentierten Antworten auftreten.
OpenAPI-Definition#
Vollständige Operationsdefinition
OpenAPI JSON
{
"summary": "Gespeicherte Einrichtungsvorlage entfernen",
"tags": [
"Erweiterungen"
],
"parameters": [
{
"schema": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"in": "path",
"name": "id",
"required": true
}
],
"x-required-scopes": [
"extensions:write"
],
"responses": {
"200": {
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"extension_id",
"name",
"engine",
"enabled",
"use_template",
"template"
],
"properties": {
"extension_id": {
"type": "string"
},
"name": {
"type": "string"
},
"engine": {
"anyOf": [
{
"type": "string",
"enum": [
"chromium"
]
},
{
"type": "string",
"enum": [
"firefox"
]
}
]
},
"enabled": {
"type": "boolean"
},
"use_template": {
"type": "boolean"
},
"template": {
"anyOf": [
{
"type": "object",
"required": [
"revision",
"version_id",
"version",
"created_at",
"source_profile_id",
"source_name"
],
"properties": {
"revision": {
"type": "integer"
},
"version_id": {
"type": "string"
},
"version": {
"type": "string"
},
"created_at": {
"type": "integer"
},
"source_profile_id": {
"type": [
"string",
"null"
]
},
"source_name": {
"type": [
"string",
"null"
]
}
}
},
{
"type": "null"
}
]
}
}
}
}
}
},
"default": {
"description": "HTTP error envelope. The status and error.code identify the failure.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}