Skip to main content
POST
/
org-workspaces
/
{id}
/
rotate-secret
Rotate the secret for an organization workspace
curl --request POST \
  --url https://api.getmembrane.com/org-workspaces/{id}/rotate-secret \
  --header 'Authorization: Bearer <token>'
{
  "secret": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200 - application/json
secret
string
required

The new workspace secret