API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

POST /v1/webspaces/{id}/ssl/letsencrypt

POST/v1/webspaces/{id}/ssl/letsencrypt

Issue a Let’s Encrypt SSL certificate

Datamodel

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

Request body

NaamTypeBeschrijving
commonNamevereiststring
sanstring[]
autoRenewboolean

Padparameters

NaamTypeBeschrijving
idvereiststring

Voorbeeld

curl -X POST https://api.codemeta-os.de/v1/webspaces/{id}/ssl/letsencrypt \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "commonName": "string",
  "san": [],
  "autoRenew": true
}'
const result = await cm.webspaces.post({
  "commonName": "string",
  "san": [],
  "autoRenew": true
});

Antwoordcodes

HTTP Betekenis
202 Default Response

Zoeken