products
Delete a product
Deletes a product entry.
delete/products/{product_id}
Request
- Base URLhttps://staging.api-golang.boilerplate.hng.tech/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
product_idstring required
The id of the product to be retrieved
Example:1
Response
Product deleted successfully
Example response
{
"status": "success",
"status_code": 200
}Changes
No recorded changes to this operation across all 15 revisions of this API.