Skip to main content
 print this page

Update a workbook, or stop its running queries

PUT 

/workbooks/:workbook_id

Has two modes, selected by the action query parameter. The caller needs editor access or higher on the workbook.

  • Without action: updates the workbook. Every body property is optional and an empty body is a valid no-op that still returns 200. Properties are written only when the supplied value differs from the stored one, except ExpireAfter, which always rewrites the expiry from the current time. Setting Title also sets IsTitleUpdated to true, which stops auto-generation from later overwriting it.

  • action=stop_running_queries: aborts all in-flight queries belonging to the workbook. The request body is ignored entirely in this mode.

Unlike GET on the same path, an unrecognised action value is rejected here with IPV-1004.

Note that an unknown workbook id is reported as HTTP 400 with IPV-1002, not 404.

Request

Responses

Workbook updated, or stop requests issued when action=stop_running_queries.

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers