API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console

POST /v1/dashboard-widgets/custom/{id}/publish

POST/v1/dashboard-widgets/custom/{id}/publish

CodeMeta OS API endpoint.

Corps de la requête

NomTypeDescription
scopeobligatoirestring

Paramètres de chemin

NomTypeDescription
idobligatoirestring

Exemple

curl -X POST https://api.codemeta-os.de/v1/dashboard-widgets/custom/{id}/publish \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "scope": "tenant"
}'
const result = await cm.dashboard-widgets.post({
  "scope": "tenant"
});

Codes de réponse

HTTP Signification
200 Default Response

Recherche