persona.read / persona.write capabilities.
Lifecycle
- Draft — private to its creator and editable in place.
- Published — immutable. Editing a published persona means calling
reviseto open a fresh draft, notPATCH. - Promoted — an admin lifts a private persona into the org library, where it becomes selectable by other members.
Create
Created personas start private and in draft.
List and retrieve
Update a draft
PERSONA_ALREADY_DRAFT or PERSONA_NO_DRAFT when the persona is not in a state that accepts an in-place edit — call revise first if the current version is published.
Publish, revise, promote
publishfreezes the current draft as a published version.reviseopens a new draft from the currently published version.promoteis admin-only and requires the persona to be private; it returnsPERSONA_NOT_PRIVATEotherwise andORG_ADMIN_REQUIREDfor non-admins.
Delete
Org default persona
PUT takes a single persona field.