---
title: "Export a workspace 🔒"
method: POST
path: "/workspaces/{workspaceId}/export"
tags: ["workspaces"]
---

# Export a workspace 🔒

`POST /workspaces/{workspaceId}/export`

This endpoint is only available on an enterprise license.

## Path parameters

- `workspaceId` string, required

## Request body

- WorkspaceExport
  - `encryptPassword` string, required — An optional password used to encrypt the export.
  - `excludeRows` boolean, required — Set whether the internal table rows should be excluded from the export.

## Response `200`

A gzip tarball containing the workspace export, encrypted if password provided.

---

[API](https://skmtc.net/budibase/apis/budibase-api.md) · [All operations](https://skmtc.net/budibase/apis/budibase-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/budibase/budibase-api/revisions/9c6f16fc652b/schema)
