Skip to main content
PATCH
cURL

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer YOUR_API_KEY.

Path Parameters

id
string
required

Agent id of the Primary Variant. Every split operation is addressed through the primary, not through a secondary variant.

Minimum string length: 1
variantAgentId
string
required

Agent id of the active variant to rename. May be the Primary Variant, in which case the agent itself is renamed and the convention names follow it.

Minimum string length: 1

Body

application/json

The revision being changed and the new name, or null to reset.

revision
integer
required

The revision from the split you are changing.

Required range: x >= 1
Example:

5

name
string | null
required

The new display name, unique within the split (case-insensitive). Send null to reset a chosen name back to the convention.

Required string length: 1 - 100
Example:

"Warm intro"

{key}
any

Response

The split with the renamed variant.

success
boolean
required
splitTest
object
required