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. Authorization: an org-scoped posture_id in an org the caller does not belong to, and a team_id in an org the caller does not belong to, each return the same 404 as a nonexistent id. The caller must hold admin rights on the target team (team_id, resolved to its org from the DB; a member without them receives 403), AND an org-scoped posture must belong to that team's org (403 otherwise), so nothing can be cross-assigned.

post/postures/{posture_id}/assign

Request

  • Base URL: https://api.mnemom.ai/v1
  • URL: https://api.mnemom.ai/v1/postures/{posture_id}/assign
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Mnemom-Api-Key

Path parameters

posture_idstring required

Posture ID (tp-{8-hex}).

Headers

Idempotency-Keystring required

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.

Request body

team_idstring uuid required

UUID of the team to assign this posture to (becomes the team's single active posture).

revision_idstring

Pin to a specific revision (default: current_revision_id).

Response

Assignment created.

team_idstring uuid required
posture_idstring required
assigned_revision_idstring nullable

Revision pinned at assignment time (null = tracks current_revision_id).

revision_idstring

Pinned revision (optional; defaults to current).

assigned_bystring uuid nullable
assigned_atstring date-time required
replaced_priorboolean

true when this assignment displaced a previously-active assignment on the team.

Changes

No recorded changes to this operation across all 1 revision of this API.