Api
Set whether a workspace requires compliance review
Turns the workspace's compliance sign-off requirement on or off. Body: requiresComplianceReview (boolean, required). Videos already in review are re-evaluated against the new setting. 400 if workspaceId is not a wsp_ id; 403 for a workspace you are not a member of. Only an admin may change it; a non-admin receives a 404.
AuthorizationBearer <token>
A Supabase-issued OAuth user access token. On collection endpoints, pair with a Passo-Workspace header to pick a workspace.
In: header
Path Parameters
workspaceId*string
The workspace's public id, e.g. wsp_abc.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/workspaces/string/compliance" \ -H "Content-Type: application/json" \ -d '{ "requiresComplianceReview": true }'{ "requiresComplianceReview": true}