Schema
Update an attribute definition
Changed onUpdates properties of an existing attribute definition
patch/v1/objects/{slug}/attributes/{attr_id}
Request
- Base URLhttps://app.nex.ai/api/developers
- AuthAPI key in header Authorization
Path parameters
slugstring required
Object slug
attr_idstring required
Attribute definition ID
Request body
Example request
{
"name": "Updated Status",
"options": {
"is_required": false,
"select_options": [
{
"id": "existing-id",
"name": "Renamed"
},
{
"name": "New Option"
}
]
}
}Response
Updated attribute definition
Changes
- info
endpoint added
- info