Update Integration

PUT /api/v1/integrations/:id

Changes the name, or replaces config as a whole. The type can't change.

CLI: fob-mdm integrations edit

Path Parameters

ParameterTypeDescription
idnumberIntegration id

Request Body

FieldTypeRequiredDescription
namestringNoDisplay name
configobjectNoReplaces the whole config

Example Request

curl -X PUT "https://mdm.finopsbricks.com/api/v1/integrations/5" \
  -H "api-key: $MDM_API_KEY" \
  -H "api-secret: $MDM_API_SECRET" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Payments (live)"
  }'

Response

200 OK

{
  "data": {
    "id": 5,
    "name": "Payments (live)",
    "type": "razorpayx",
    "config": {
      "object": "vendor",
      "sample_records": [
        {
          "tp_id": "cont_8f2k",
          "name": "ACME SUPPLIES",
          "gstin": "29ABCDE1234F1Z5",
          "bank_ifsc": "HDFC0009999"
        }
      ]
    },
    "created_at": "2026-11-26T07:20:08.000Z",
    "updated_at": "2026-11-26T07:20:08.000Z"
  }
}

Errors

StatusCodeWhen
400VALIDATION_ERROREmpty name, or config isn't an object
401UNAUTHORIZEDMissing, wrong or expired API credentials
403FORBIDDENThe key lacks integrations:edit permission
404NOT_FOUNDNo such integration in your organization
409CONFLICTThe name is taken

See Errors for the envelope.

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