---
title: "Update suggestion sharing"
description: "Settings API"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.certinvo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update suggestion sharing

{/* Generated by apps/docs/scripts/generate.ts from contracts/api/openapi.yaml. Do not edit. */}
<div class="cvo-op">
<div class="cvo-op-main">

<div class="cvo-op-header">
<div class="cvo-op-path-row">
<span class="cvo-method" data-method="put">PUT</span>
<code class="cvo-op-path-code">/v1/suggestion-sharing</code>
</div>
</div>

Records a new answer as an immutable version that names the person who gave it. Earlier answers are never edited. Only a signed-in person may call this, as for `/v1/datev-settings`. An API key is refused with 401 `session_required`.

## Request body

`application/json`, required

## Response

A `200` answer carries these fields.

## Status codes

| Status | Meaning |
|---|---|
| `200` | The new answer, which is now current. |
| `400` | The body is not exactly `{"shared": true\|false}` (`invalid_suggestion_sharing`). Nothing was changed. |
| `401` | No usable credential was sent (`invalid_credentials`), or an API key was used (`session_required`). |
| `501` | This deployment has no database, so nothing can be recorded (`no_database`). It is a permanent limit of this deployment, not a busy server, so sending the same request again will not help. |

</div>
<div class="cvo-op-aside">

</div>
</div>

Source: https://docs.certinvo.com/reference/api/settings/update-suggestion-sharing/index.mdx
