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.End an active A/B test and designate a winner.
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.Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
Was this page helpful?