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 URLhttps://api.affinity.co
- URLhttps://api.affinity.co/v2/lists/{listId}/fields/{fieldId}/dropdown-options/{dropdownOptionId}
- AuthHTTP bearer
Path parameters
listIdinteger required
List ID
fieldIdstring required
Example:field-1234
Field ID
dropdownOptionIdinteger required
Dropdown option ID
Request body
Example request
{
"text": "Series A"
}Response
No Content
Changes
- breaking
removed from the request body
anyOflist - info
added
authenticationauthorizationbad-requestconflictmethod-not-allowednot-acceptablenot-foundnot-implementedrate-limitservertimeoutunprocessable-entityunsupported-media-typevalidationdiscriminator mapping keys to the/response property for the response status - info
added
bad-requestvalidationdiscriminator mapping keys to the/response property for the response status
- breaking