curl --request PUT \
--url https://api.example.com/conventions/{convention_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"content": "<string>"
}
'{
"title": "<string>",
"content": "<string>",
"organisation_id": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"embedding": [
123
]
}Update a convention.
curl --request PUT \
--url https://api.example.com/conventions/{convention_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"content": "<string>"
}
'{
"title": "<string>",
"content": "<string>",
"organisation_id": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"embedding": [
123
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.