Update Field
PUT /api/v1/fields/:id
Changes only the attributes you send. The key can't change.
CLI: fob-mdm fields edit
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | number | Field id |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
label | string | No | Display name |
type | string | No | text, number, date or boolean |
required | boolean | No | Every record should have it |
is_identity | boolean | No | Identifies the same entity across apps |
Example Request
curl -X PUT "https://mdm.finopsbricks.com/api/v1/fields/11" \
-H "api-key: $MDM_API_KEY" \
-H "api-secret: $MDM_API_SECRET" \
-H "Content-Type: application/json" \
-d '{
"required": true
}'
Response
200 OK
{
"data": {
"id": 11,
"object": 1,
"key": "gstin",
"label": "GSTIN",
"type": "text",
"required": true,
"is_identity": true,
"position": 2,
"retired_at": null,
"created_at": "2026-11-26T07:20:08.000Z",
"updated_at": "2026-11-26T07:20:08.000Z"
}
}
Errors
| Status | Code | When |
|---|---|---|
| 400 | VALIDATION_ERROR | Empty label, or type isn't allowed |
| 401 | UNAUTHORIZED | Missing, wrong or expired API credentials |
| 403 | FORBIDDEN | The key lacks fields:edit permission |
| 404 | NOT_FOUND | No such field in your organization |
See Errors for the envelope.
Using an AI agent? Give it the raw Markdown of this page, or the docs index.