Skip to content

Delete Announcement

Delete an announcement.

Endpoint

INFO

DELETE /api/v1/dashboard/announcements/{announcement}

Headers

HeaderValueRequired
Acceptapplication/jsonYes
AuthorizationBearer {token}Yes

Path Parameters

ParameterTypeDescription
announcementintegerAnnouncement ID

Example Request

bash
curl -X DELETE https://api.daakey.com/api/v1/dashboard/announcements/1 \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {token}"

Response

Success (200)

json
{
  "success": true,
  "message": "Announcement deleted",
  "data": null,
  "request_id": "uuid",
  "timestamp": "2024-01-01T00:00:00.000Z"
}

Daakey Car Sharing Platform