POST /review-playbooks/{playbook_id}/set-default
Promote it, demoting whatever held the flag at the same scope.
One default per scope is three partial unique indexes in the schema, so the demotion is
not a courtesy — without it the promotion is an IntegrityError.
Name In Type Notes playbook_idpath string (uuid) required —
Status Description Body 200Successful Response ReviewPlaybookView422Validation Error HTTPValidationError
Only the success paths are declared
Any operation may also answer any status in the error catalogue , and
every failure body is the platform envelope — including the 422 this document types
as HTTPValidationError.
curl -X POST https://your-deployment.example.com/review-playbooks/{playbook_id}/set-default \
-H " Authorization: Bearer $COBRE_TOKEN "
Field Type Notes idstring (uuid) required — slugstring required — namestring required — descriptionstring | null required , nullable— scopeworkspace | organization | platformrequired — is_defaultboolean required — is_activeboolean required — active_revision_idstring (uuid) | null required , nullable— revision_numberinteger required — templatesobject required — organization_idstring (uuid) | null required , nullable— workspace_idstring (uuid) | null required , nullable— created_atstring (date-time) required — updated_atstring (date-time) required —