Allows updating the enabled status of an agent-corpus connection.Staging behaviour:
Updates the enabled status of an agent-corpus connection for staging version instead of the published agent.
Changes are propagated to the published agent via the Publish API(POST api/v2/agents/{agent_id}/publish).
Request Body:
is_enabled (bool): The new enabled status of the agent-corpus connection.
Request Headers:
X-Authorization-Consistency-Token (string, optional): Authorization consistency token for read-after-write consistency. Pass the token received from a previous write operation to ensure this read reflects that write.
Returns:
A Response with the updated agent-corpus connection or error message.