Assign a posture to a team
Postures
Assign a posture to a team
Sets the team’s active posture. One active posture per team. Authorized: org_admin / org_owner / team_admin.
POST
Assign a posture to a team
Authorizations
Supabase JWT token in Authorization: Bearer header
Headers
Client-supplied idempotency token (required). Replays within 24 hours return the stored result; reusing a key with a different body returns 409. See ADR-023.
Path Parameters
Posture ID (tp-{8-hex}).
Pattern:
^tp-[a-z0-9-]{1,64}$Body
application/json
Response
Assignment created.
Team→posture binding (one active per team).
Revision pinned at assignment time (null = tracks current_revision_id).
Pinned revision (optional; defaults to current).
true when this assignment displaced a previously-active assignment on the team.