API · v1 · stabil
CODEMETA OSDeveloper Center
DE
Konsole öffnen

POST /v1/webspaces/{id}/wordpress/install

POST/v1/webspaces/{id}/wordpress/install

Install WordPress on a webspace (async)

Datenmodell

Diese Operation arbeitet auf der Entität webspace (webspace). Alle 32 Felder — Typ, Validierung, Pflichtangabe, Beziehungen — stehen in der Schema-Referenz.

Request Body

NameTypBeschreibung
adminEmailerforderlichstring<email>
adminUsererforderlichstring
adminPassworderforderlichstring
titleerforderlichstring
localestring

Pfad-Parameter

NameTypBeschreibung
iderforderlichstring

Beispiel

curl -X POST https://api.codemeta-os.de/v1/webspaces/{id}/wordpress/install \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "adminEmail": "string",
  "adminUser": "string",
  "adminPassword": "string",
  "title": "string",
  "locale": "de_DE"
}'
const result = await cm.webspaces.post({
  "adminEmail": "string",
  "adminUser": "string",
  "adminPassword": "string",
  "title": "string",
  "locale": "de_DE"
});

Antwortcodes

HTTP Bedeutung
202 Default Response

Suche