Zum Hauptinhalt springen
POST
/
cms
/
v3
/
pages
/
site-pages
/
ab-test
/
end
Einen aktiven A/B-Test beenden
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 '{
  "winnerId": "<string>",
  "abTestId": "<string>"
}'
This response has no body data.

Unterstützte Produkte

Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing Hub -Kostenlos
Sales HubSales Hub -Kostenlos
Service HubService Hub -Kostenlos
Content HubContent Hub -Kostenlos
Diese API erfordert einen der folgenden Bereiche:
content

Authorizations

Authorization
string
header
required

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

Body

application/json

The JSON representation of the AbTestEndRequest object.

Request body object for ending A/B tests.

winnerId
string
required

ID des Objekts, das als Testsieger bestimmt werden soll.

abTestId
string
required

ID des zu beendenden Tests.