Delete Proposal
DELETE/api/proposals/{id}
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| id | Number | Proposal unique ID. |
curl -X DELETE "https://yoursite.com/api/proposals/123" \
-H "authtoken: YOUR_API_TOKEN" Success-Response:
HTTP/1.1 200 OK
{
"status": true,
"message": "Proposals Deleted Successfully"
} Error-Response:
HTTP/1.1 404 Not Found
{
"status": false,
"message": "Proposal Delete Fail"
}