Skip to main content
PUT
/
api
/
v1
/
context
/
role
Update role context
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": {}
}

Authorizations

nut-session
string
cookie
required

Session cookie authentication

Body

application/json
content
string
required

Markdown content for the role document

metadata
object

Optional metadata

Response

Role context updated

success
boolean
required
data
object