Lists

Update a dropdown option for a List Field

Changed on
⚠️ This endpoint is currently in BETA

Update a dropdown option for a List Field.

Note: Updating dropdown options on status fields is not yet supported. Requests where fieldId refers to a status field will return a 400 error.

post/v2/lists/{listId}/fields/{fieldId}/dropdown-options/{dropdownOptionId}

Request

  • Base URL
    https://api.affinity.co
  • URL
    https://api.affinity.co/v2/lists/{listId}/fields/{fieldId}/dropdown-options/{dropdownOptionId}
  • Auth
    HTTP bearer

Path parameters

listIdinteger required

List ID

fieldIdstring required
Example:field-1234

Field ID

dropdownOptionIdinteger required

Dropdown option ID

Request body

OR

Example request

{
  "text": "Series A"
}

Response

No Content

Changes

    • breaking

      removed from the request body anyOf list

    • info

      added authentication authorization bad-request conflict method-not-allowed not-acceptable not-found not-implemented rate-limit server timeout unprocessable-entity unsupported-media-type validation discriminator mapping keys to the / response property for the response status

    • info

      added bad-request validation discriminator mapping keys to the / response property for the response status