For the complete documentation index, see llms.txt. This page is also available as Markdown.

Operations

Submit JSON:API atomic operations batch requests to execute multiple resource operations in a single transactional or aggregated call.

  • Alias: terrakube ops

Usage

terrakube operations --file <PATH_TO_JSON> [flags]
terrakube ops -f <PATH_TO_JSON> [flags]

Flags

Flag
Short
Type
Required
Description

--file

-f

String

Yes

Path to JSON file containing atomic operations payload.

--output

-o

String

No

Output format (json, table, yaml, tsv).

Payload Format

The file must contain an atomic:operations JSON array conforming to the JSON:API Atomic Operations specification:

{
  "atomic:operations": [
    {
      "op": "add",
      "data": {
        "type": "organization",
        "attributes": {
          "name": "finance-division",
          "description": "Finance engineering workspaces",
          "executionMode": "remote"
        }
      }
    }
  ]
}

Examples

Submit an atomic batch file

Submit using short alias

Last updated

Was this helpful?