> ## Documentation Index
> Fetch the complete documentation index at: https://webhub.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Update

> Update an entry in your DynamoDB table

### Path

<ParamField path="YOUR_DB_NAME" type="string" required>
  The name of the DynamoDB you want to interact with.
</ParamField>

### Body

<ParamField body="id" type="string" required>
  The ID of the entry you want to change
</ParamField>

<ParamField body="name" type="string" required>
  What you want to change the entry to
</ParamField>

### Response

<ResponseField name="statusCode" type="number">
  Based off of standard HTTP request guidelines
</ResponseField>

<ResponseField name="body" type="object">
  Information regarding your update request
</ResponseField>

<ResponseExample>
  ```json Success Response theme={null}
  {
    "statusCode": 200,
    "body" {
      "message": "Item updated"

    }
  }
  ```

  ```json Error Response theme={null}
  {
    "statusCode": 400,
    "body" {
      err: {
      "message": "The provided key element does not match the schema",
      "code": "ValidationException",
      "time": "2023-08-18T20:21:13.322Z",
      "requestId": "P1SOGBUGG06C1HKF2U2GIUR8I7VV4KQNSO5AEMVJF66Q9ASUAAJG",
      "statusCode": 400,
      "retryable": false,
      "retryDelay": 26.247972152830666
  },
      compelete: false
    }
  }
  ```
</ResponseExample>
