Passer au contenu principal
POST
/
cms
/
v3
/
pages
/
site-pages
/
ab-test
/
end
Mettre fin à un test A/B actif
curl --request POST \
  --url https://api.hubapi.com/cms/v3/pages/site-pages/ab-test/end \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "abTestId": "<string>",
  "winnerId": "<string>"
}
'
This response has no body data.

Documentation Index

Fetch the complete documentation index at: https://developers.hubspot.fr/docs/llms.txt

Use this file to discover all available pages before exploring further.

Supported products

Autorisations

Authorization
string
header
requis

The access token received from the authorization server in the OAuth 2.0 flow.

Corps

application/json

Request body object for ending A/B tests.

abTestId
string
requis

ID du test à terminer.

winnerId
string
requis

ID de l'objet à désigner en tant que version gagnante.

Réponse

Last modified on April 13, 2026