Object options
Create field option
Adds an option (tag) to a select/tags field. Requires a USER API key with ADMIN or OWNER role.
post/public/v1/objects/{name}/fields/{fieldId}/options
Path parameters
namestring required
Example:deals
fieldIdinteger required
Example:42
Request body
Example request
{
"name": "example",
"color": "example",
"order": 1
}Response
Created option
Example response
{
"ok": true,
"data": {
"id": 1,
"name": "example",
"color": "example",
"order": 1,
"created_at": "example",
"updated_at": "example"
}
}