Skip to content

Publish the personas an admin wrote and flagged shared

PUT
/api/admin/personas
curl --request PUT \
--url http://localhost:5173/api/admin/personas \
--cookie authjs.session-token=<authjs.session-token>

The body is the complete answer to "which of my personas are shared", so it replaces the list. What the instance relays from the store is a separate list of ids and is untouched.

Published.

The body is not an array.