Routine Blocks
CLI commands for routine blocks
routine-blocks list
monoid routine-blocks list [options]
List routine-blocks
Options
| Flag | Description |
|---|---|
--limit <n> | Max results |
--offset <n> | Skip n results |
--date <value> | Filter by date |
--template-id <value> | Filter by templateId |
--category-id <value> | Filter by categoryId |
Example
monoid routine-blocks list [options]routine-blocks get
monoid routine-blocks get <id>
Get one routine-blocks by id
Arguments
| Name | Required | Description |
|---|---|---|
id | Yes | — |
Example
monoid routine-blocks get <id>routine-blocks create
monoid routine-blocks create [options]
Create routine-blocks
Options
| Flag | Description |
|---|---|
--body <json> | Request body JSON (merged with flags) |
--name <value> | name |
--start-time <value> | startTime |
--end-time <value> | endTime |
--organisation-id <value> | organisationId |
--template-id <value> | templateId |
--day-of-week <value> | dayOfWeek |
--date <value> | date |
--category-id <value> | categoryId |
--content <value> | content |
--block-type <value> | blockType |
--color <value> | color |
--if-not-exists | Return existing if match found |
Example
monoid routine-blocks create [options]routine-blocks update
monoid routine-blocks update [options] <id>
Update routine-blocks
Arguments
| Name | Required | Description |
|---|---|---|
id | Yes | — |
Options
| Flag | Description |
|---|---|
--body <json> | Request body JSON (merged with flags) |
--ids <ids> | Comma-separated IDs for bulk update (max 25) |
--dates <dates> | Comma-separated dates for bulk update (max 25) |
--name <value> | name |
--start-time <value> | startTime |
--end-time <value> | endTime |
--organisation-id <value> | organisationId |
--template-id <value> | templateId |
--day-of-week <value> | dayOfWeek |
--date <value> | date |
--category-id <value> | categoryId |
--content <value> | content |
--block-type <value> | blockType |
--color <value> | color |
Example
monoid routine-blocks update [options] <id>routine-blocks delete
monoid routine-blocks delete [options] <id>
Delete routine-blocks
Arguments
| Name | Required | Description |
|---|---|---|
id | Yes | — |
Options
| Flag | Description |
|---|---|
--ids <ids> | Comma-separated IDs for bulk delete (max 25) |
--dates <dates> | Comma-separated dates for bulk delete (max 25) |
Example
monoid routine-blocks delete [options] <id>Related API
See Routine Blocks API reference for HTTP endpoint details.
© 2025 MONOid
All rights reserved.
All rights reserved.