DELETE
/
dynamodb
/
{YOUR_DB_NAME}
/
delete
Delete
curl --request DELETE \
  --url https://7gzkqkjgcg.execute-api.us-east-2.amazonaws.com/stage/dynamodb/{YOUR_DB_NAME}/delete \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>"
}'
{
  "statusCode": 200,
  "body" {
    
    "message": "Item deleted"

  }
}

Path

YOUR_DB_NAME
string
required
The name of the DynamoDB you want to interact with.

Body

id
string
required
ID of the element you want to remove from the table

Response

statusCode
number
Based off of standard HTTP request guidelines
body
object
Information regarding your delete request
{
  "statusCode": 200,
  "body" {
    
    "message": "Item deleted"

  }
}