Update Object

PUT /api/v1/objects/:id

Changes an object's label. The slug can't change.

CLI: fob-mdm objects edit

Path Parameters

ParameterTypeDescription
idnumberObject id

Request Body

FieldTypeRequiredDescription
labelstringYesNew display name

Example Request

curl -X PUT "https://mdm.finopsbricks.com/api/v1/objects/1" \
  -H "api-key: $MDM_API_KEY" \
  -H "api-secret: $MDM_API_SECRET" \
  -H "Content-Type: application/json" \
  -d '{
    "label": "Supplier"
  }'

Response

200 OK

{
  "data": {
    "id": 1,
    "slug": "vendor",
    "label": "Supplier",
    "created_at": "2026-11-26T07:20:08.000Z",
    "updated_at": "2026-11-26T07:20:08.000Z"
  }
}

Errors

StatusCodeWhen
400VALIDATION_ERRORlabel is missing
401UNAUTHORIZEDMissing, wrong or expired API credentials
403FORBIDDENThe key lacks objects:edit permission
404NOT_FOUNDNo such object in your organization

See Errors for the envelope.

Using an AI agent? Give it the raw Markdown of this page, or the docs index.