API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

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

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

Install WordPress on a webspace (async)

Datamodel

Deze operatie werkt op de entiteit webspace (webspace). Alle 32 velden — type, validatie, verplichte velden, relaties — staan in de schemareferentie.

Request body

NaamTypeBeschrijving
adminEmailvereiststring<email>
adminUservereiststring
adminPasswordvereiststring
titlevereiststring
localestring

Padparameters

NaamTypeBeschrijving
idvereiststring

Voorbeeld

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"
});

Antwoordcodes

HTTP Betekenis
202 Default Response

Zoeken