fob-mdm objects

An object is a kind of record your organization keeps, such as Vendor. Commands that take an object accept its id or its slug. See Objects and Fields.

fob-mdm objects <action> [target] [options]
ActionDescription
listList objects, A to Z
showShow one object
createCreate an object
editRename an object (the slug can't change)
deleteDelete an object with all its fields, records and history

objects list

List objects, A to Z.

fob-mdm objects list [options]
Argument or optionRequiredDefaultDescription
--page <n>1Page number.
--limit <n>100Rows per page (max 500).
--allFetch every page (up to 15000 rows).
--jsonPrint the raw JSON response.
--q <text>Match part of the label.
fob-mdm objects list
fob-mdm objects list --q vend
fob-mdm objects list --json
ID  SLUG      LABEL
----------------------
2   customer  Customer
1   vendor    Vendor

API: List Objects

objects show

Show one object.

fob-mdm objects show <object> [options]
Argument or optionRequiredDefaultDescription
<object>YesObject id or slug.
--jsonPrint the raw JSON response.
fob-mdm objects show vendor
fob-mdm objects show 1 --json

API: Get Object

objects create

Create an object.

fob-mdm objects create --slug <slug> --label <label> [options]
Argument or optionRequiredDefaultDescription
--slug <slug>YesMachine name, e.g. vendor. Can't be changed later.
--label <label>YesDisplay name, e.g. Vendor.
--jsonPrint the raw JSON response.
fob-mdm objects create --slug vendor --label Vendor

Add its fields next with fob-mdm fields create.

API: Create Object

objects edit

Rename an object (the slug can't change).

fob-mdm objects edit <object> --label <label> [options]
Argument or optionRequiredDefaultDescription
<object>YesObject id or slug.
--label <label>YesNew display name.
--jsonPrint the raw JSON response.
fob-mdm objects edit vendor --label Supplier

API: Update Object

objects delete

Delete an object with all its fields, records and history.

fob-mdm objects delete <object> [options]
Argument or optionRequiredDefaultDescription
<object>YesObject id or slug.
-y, --yesSkip the confirmation.
fob-mdm objects delete vendor
fob-mdm objects delete vendor --yes

Deletes the object with all its fields, records, values and history. This can't be undone. It asks first unless you pass --yes.

API: Delete Object

Every command also takes --profile <name> and --help. See Command-line Interface.

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