Labels
CLI commands for labels
labels list
monoid labels list [options]
List labels
Options
| Flag | Description | Default |
|---|---|---|
--limit <n> | Max results | — |
--offset <n> | Skip n results | — |
--entity-type <value> | Filter by entityType | — |
--organisation-id <value> | Filter by organisationId | — |
Example
monoid labels list [options]Example output
{
"data": [
{
"_id": "abc123",
"name": "Example item",
"updatedAt": 1760000000000
}
]
}labels get
monoid labels get <id>
Get label by id
Arguments
| Name | Required | Description |
|---|---|---|
id | Yes | — |
Example
monoid labels get <id>Example output
{
"data": {
"_id": "abc123",
"updatedAt": 1760000000000
}
}labels create
monoid labels create [options]
Create label
Options
| Flag | Description | Default |
|---|---|---|
--body <json> | Request body JSON (merged with flags) | — |
--name <value> | name | — |
--color <value> | color | — |
--entity-type <value> | entityType | — |
--organisation-id <value> | organisationId | — |
Example
monoid labels create [options]Example output
{
"data": {
"_id": "abc123",
"updatedAt": 1760000000000
}
}labels update
monoid labels update [options] <id>
Update label
Arguments
| Name | Required | Description |
|---|---|---|
id | Yes | — |
Options
| Flag | Description | Default |
|---|---|---|
--body <json> | Request body JSON (merged with flags) | — |
--ids <ids> | Comma-separated IDs for bulk update (max 25) | — |
--name <value> | name | — |
--color <value> | color | — |
--entity-type <value> | entityType | — |
--organisation-id <value> | organisationId | — |
Example
monoid labels update [options] <id>Example output
{
"data": {
"_id": "abc123",
"updatedAt": 1760000000000
}
}labels delete
monoid labels delete [options] <id>
Delete label
Arguments
| Name | Required | Description |
|---|---|---|
id | Yes | — |
Options
| Flag | Description | Default |
|---|---|---|
--ids <ids> | Comma-separated IDs for bulk delete (max 25) | — |
Example
monoid labels delete [options] <id>Example output
{
"data": null,
"deleted": true
}Related API
See Labels API reference for HTTP endpoint details.
© 2025 MONOid
All rights reserved.
All rights reserved.