cURL
curl --request PUT \ --url http://localhost:8080/api/workspaces/{id}/questions/{question_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "answer": "<string>", "status": "<string>" } '
{ "id": "<string>", "workspace_id": "<string>", "task_id": "<string>", "task_title": "<string>", "content": "<string>", "context": "<string>", "options": [ "<string>" ], "answer": "<string>", "status": "<string>", "priority": 123, "created_at": "<string>", "answered_at": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
4