---
title: "Rotate the secret for an organization workspace"
method: POST
path: "/org-workspaces/{id}/rotate-secret"
tags: ["OrgWorkspaces"]
---

# Rotate the secret for an organization workspace

`POST /org-workspaces/{id}/rotate-secret`

## Path parameters

- `id` string, required

## Response `200`

- RotateOrgWorkspaceSecretResponseDto
  - `secret` string, required — The new workspace secret

---

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