cURL
curl --request POST \ --url https://api.getmembrane.com/org-workspaces/{id}/rotate-secret \ --header 'Authorization: Bearer <token>'
{ "secret": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The new workspace secret
Was this page helpful?