A/B Templates

Replace an A/B template's variants

Requires a Pro plan. Replaces the template's description and full list of variants. The body uses the same shape as create; its name must be present but is not used to rename (use PATCH). Omitting description clears it. Links bound to the template pick up the new split immediately; a binding needs an endpoint for every variant, so rebind links after adding or renaming variants.

put/ab-templates/{name}

Request

  • Base URL: https://gajo.io/api/v1
  • URL: https://gajo.io/api/v1/ab-templates/{name}
  • Auth: API key in header x-api-key

Request body

namestring required

2-100 characters: letters, digits, hyphens and underscores. Unique per account.

descriptionstring nullable

Optional note. Omitting it on update clears it.

Response

The updated template.

successtrue required

true when the request succeeded.

messagestring nullable

Human-readable status or error message. Often null on reads.

Changes

No recorded changes to this operation across all 1 revision of this API.