The availability of features may depend on your plan type. Contact your Customer Success Manager if you have any questions.
Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
API Reference

Update a List Attribute

Overwrite the List Attribute with the provided id. Required arguments are identical to creating a new List Attribute.

Path Params
int64
required

The ID of the List Attribute you'd like to update

Body Params

A string in JSON format that includes all the fields you'd like to change for a List Attribute

boolean

Whether or not the List Attribute has been archived

string

A short description of the List Attribute

string

The name of the object which holds targeting ids on your website

string

A comma separated string of IDs or ZIP Codes. Items will be matched against the key_field to determine if an active visitor should be targeted by the list. Note that if the list currently contains data, providing this value will overwrite the previous data.

string
enum

The type of data object which holds targeting ids on your website (cookies, query parameters, zip codes, Global JS variables)

Allowed:
string

A unique, human-readable name for the List Attribute

Responses

Language
Credentials
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json