Fields
Add field Option
Add an option to a SINGLE_CHOICE or MULTIPLE_CHOICE field, or a tag to a NOTE field. For NOTE fields, the option is stored as a tag and returned as a fieldOption.
post/1.0/fields/{fieldId}/add-option
Request
- Base URLhttps://api.rocketlane.com/api
- AuthAPI key in header api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
fieldIdinteger required
The field's unique, system-generated identifier, which can be used to identify the field globally.
Request body
Example request
{
"optionColor": "RED",
"optionLabel": "High"
}Response
The resource was successfully created in the database.
Example response
{
"optionValue": 2,
"optionLabel": "Todo",
"optionColor": "RED"
}Changes
No recorded changes to this operation across all 2 revisions of this API.