# Update a decider

> Updates any of name, description, the backend and questions. Naming agent_id or tool_id replaces the current backend; naming both is 400.

Updates any of `name`, `description`, the backend and `questions`. Naming `agent_id` or `tool_id` replaces the current backend; naming both is `400`. Only a change to `questions` archives a new version; a rename, a new backend or a rewrite of the questions the decider already holds leaves `version` where it is. A new backend is held to the same rules as on create.

  Request

<ParamsDetails
  {...require("./update-decider.ParamsDetails.json")}
>

<RequestSchema
  {...require("./update-decider.RequestSchema.json")}
>

<StatusCodes
  {...require("./update-decider.StatusCodes.json")}
>
