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]
| Action | Description |
|---|---|
list | List objects, A to Z |
show | Show one object |
create | Create an object |
edit | Rename an object (the slug can't change) |
delete | Delete an object with all its fields, records and history |
objects list
List objects, A to Z.
fob-mdm objects list [options]
| Argument or option | Required | Default | Description |
|---|---|---|---|
--page <n> | 1 | Page number. | |
--limit <n> | 100 | Rows per page (max 500). | |
--all | Fetch every page (up to 15000 rows). | ||
--json | Print 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 option | Required | Default | Description |
|---|---|---|---|
<object> | Yes | Object id or slug. | |
--json | Print 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 option | Required | Default | Description |
|---|---|---|---|
--slug <slug> | Yes | Machine name, e.g. vendor. Can't be changed later. | |
--label <label> | Yes | Display name, e.g. Vendor. | |
--json | Print 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 option | Required | Default | Description |
|---|---|---|---|
<object> | Yes | Object id or slug. | |
--label <label> | Yes | New display name. | |
--json | Print 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 option | Required | Default | Description |
|---|---|---|---|
<object> | Yes | Object id or slug. | |
-y, --yes | Skip 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.