Update a Reason
Changed onChanges how a Reason works from now on: its name, avatar and plain-text instructions; the model, reasoning effort and repositories new Sessions under it start with when their create names none; whether everyone in the workspace has it (visibility); and whether people outside the team may talk to it (audience). Sessions already running are unchanged. Fields left out keep their value.
The Reason's owner and the people it is shared with as managers (a role set in the Reason app) make these changes; anyone else it is shared with gets 403 reason_manager_required, and an id the caller cannot see returns 404. The main Reason is always called Reason (409 main_reason_name_fixed) and stays personal (409 main_reason_personal or main_reason).
<sub>Scope: run</sub>
Request
- Base URLhttps://api.reasonmachines.com
- URLhttps://api.reasonmachines.com/v3/organizations/{orgId}/reasons/{reasonId}
- AuthHTTP bearer
Request body
Response
The updated Reason.
Changes
- breaking
added the pattern
^[^\u0000]*$to the request property - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking
- info
added the new optional request property
- info
added the required property
to the response with the status
- info