ai

DELETE /v1/ai/site-publications/{publicationId}

Stop a publication that has not finished.

Tous les points de terminaison ai

Authentification

Envoyez une clé API en tant que jeton du porteur. La clé doit posséder l'autorisation hosting.deploy.manage ; une clé qui ne l'a pas est refusée avec le code 403, et non 404.

Cet endpoint ne prend aucun identifiant d'organisation. Votre clé identifie déjà l'organisation à laquelle elle appartient, et la réponse y est limitée.

Essayer

Remplacez tout ce qui se trouve entre crochets par vos propres valeurs, et le espace réservé à la clé par une clé de votre tableau de bord.

curl -X DELETE https://api.zinndigital.com/v1/ai/site-publications/{publicationId} \
  -H "Authorization: Bearer zdk_live_…"

Connecté ? La console d'API de votre tableau de bord saisit votre véritable ID d'organisation ainsi que votre propre clé, et exécute la requête sur l'API de production afin que vous puissiez voir la réponse réelle. Ouvrir ce point de terminaison dans la console API

Détails

Cancels the running work. The response reports the publication's state **after** the cancellation was requested, which may still be `published`: by the time a cancel arrives the bytes may already have landed, and reporting `cancelled` for a site that is live would send the customer looking for something they would then find. A publication that has already finished is refused with `already_finished`. Requires `hosting.deploy.manage`.

Paramètres

NomTypeObligatoireQu'est-ce que c'est
publicationId (path)UuidOui

Réponse

NomTypeObligatoireQu'est-ce que c'est
publicationSiteMakerPublicationOui

Erreurs que cet point de terminaison peut renvoyer

401 · 403 · 404 · 422 · 429