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.
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 ID (tp-{8-hex}).
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.
Request body
Response
Assignment created.
Changes
No recorded changes to this operation across all 1 revision of this API.