Skip to main content
PUT
/
api
/
field
/
list
/
data
Updates the list values (and default-value pointer) of a list field.
curl --request PUT \
  --url https://{tenant}.ekso.app/api/field/list/data \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "<string>",
  "data": [
    {
      "id": "<string>",
      "value": "<string>",
      "image": "<string>",
      "metadata": "<string>",
      "active": true
    }
  ],
  "defaultValue": "<string>"
}
'

Authorizations

Authorization
string
header
required

JWT Bearer token. Obtain via the OAuth 2.0 token endpoint.

Body

Field id plus the new list values and default-value pointer.

Inbound payload for PUT /api/field/list/data. Carries only the mutable surface -- everything else on the field record is preserved.

id
string

Id of the existing list field to update.

data
object[]

Replacement list values. Pass the full target list -- this is a whole-array replace.

defaultValue
string

Id of the entry in List<DataFieldListData> UpdateFieldListDataRequest.Data that should be the default. Empty means no default.

Response

List data updated successfully.