Search + K

Command Palette

Search for a command to run...

Sign In

End an active A/B test

POST /cms/v3/pages/landing-pages/ab-test/end
Copy endpoint
https://api.hubapi.com

End an active A/B test and designate a winner.

Request Body

application/json required

The JSON representation of the AbTestEndRequest object.

interface AbTestEndRequestVNext {
abTestId: string;
winnerId: string;
}

Responses

204

No content

unknown
default */*

An error occurred.

interface Error {
category: string;
context?: { };
correlationId: string;
errors?: ErrorDetail
interface ErrorDetail {
code?: string;
context?: { };
in?: string;
message: string;
subCategory?: string;
}
[]
;
links?: { };
message: string;
subCategory?: string;
}