cURL
curl --request PUT \ --url http://localhost:3001/api/v1/context/role \ --header 'Content-Type: application/json' \ --cookie nut-session= \ --data ' { "content": "<string>", "metadata": {} } '
{ "success": true, "data": {} }
Update role definition and guidelines
Session cookie authentication
Markdown content for the role document
Optional metadata
Role context updated