Skip to main content
PATCH
/
organizations
/
{organizationName}
/
workspaces
/
{workspaceName}
/
documents
/
{documentPath}
{
  "path": "<string>",
  "content": "<string>",
  "type": "workbook",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Path Parameters

organizationName
string
required

The unique identifier of the organization

workspaceName
string
required

The unique identifier of the workspace

documentPath
string
required

The path to the document within the workspace

Body

application/json

Represents a document within a workspace, such as a workbook or dashboard

path
string

The file path of the document within the workspace

content
string

The content of the document, typically Malloy code or configuration

type
enum<string>

The type of document, determining its purpose and behavior

Available options:
workbook,
dashboard
createdAt
string<date-time>

ISO 8601 timestamp indicating when the document was created

updatedAt
string<date-time>

ISO 8601 timestamp indicating when the document was last modified

Response

Document updated successfully

Represents a document within a workspace, such as a workbook or dashboard

path
string

The file path of the document within the workspace

content
string

The content of the document, typically Malloy code or configuration

type
enum<string>

The type of document, determining its purpose and behavior

Available options:
workbook,
dashboard
createdAt
string<date-time>

ISO 8601 timestamp indicating when the document was created

updatedAt
string<date-time>

ISO 8601 timestamp indicating when the document was last modified

I