DeleteProduct

DELETE /products/{productID}

Allows the deletion of a product

Path parameters

  • productID string Required

    Product ID

Responses

  • 204

    No Content

  • 400

    Missing data

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Product not found

  • 500

    Product could not be deleted

DELETE /products/{productID}
curl \
 --request DELETE 'https://garden-to-yours.herokuapp.com/products/{productID}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"