# Provide external data for a document with given id Update the external data for a document with given identifier. The external data are provided as a flat JSON object. The payload of this requests completley overrides the existing external data of a document. To remove the data, justsend empty JSON object {} in the payload. Please note that the maximum lenght of an key is 50 characters. Any value with a longer key will be omitted. The maximum amount of key-value pairs is limited to 20. Endpoint: POST /documents/{id}/external-data Version: 2.51.0 Security: OAuth2 ## Path parameters: - `id` (string, required) Id of the document to update. ## Request fields (application/json): - `key1` (string) Example: "value1" - `key2` (string) Example: "value2" ## Response 400 fields (application/json): - `detail` (string, required) A human readable explanation of the error. - `status` (integer, required) The HTTP status code. - `title` (string, required) A short summary of the error ## Response 404 fields (application/json): - `detail` (string, required) A human readable explanation of the error. - `status` (integer, required) The HTTP status code. - `title` (string, required) A short summary of the error ## Response 202 fields ## Response 429 fields