API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

POST /v1/webspaces/{id}/backups

POST/v1/webspaces/{id}/backups

Trigger a backup for a webspace

Datamodel

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

Request body

NaamTypeBeschrijving
labelstring
typestring

Padparameters

NaamTypeBeschrijving
idvereiststring

Voorbeeld

curl -X POST https://api.codemeta-os.de/v1/webspaces/{id}/backups \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "label": "string",
  "type": "full"
}'
const result = await cm.webspaces.post({
  "label": "string",
  "type": "full"
});

Antwoordcodes

HTTP Betekenis
202 Default Response

Zoeken