Delete a Sponsor

DELETE /sponsors/:id

Permanently delete a sponsor. This action cannot be undone.

Attributes

No attributes

Returns

If a valid sponsor ID is passed and the sponsor is successfully deleted, the response will return the following attributes. Otherwise, it will return an error.

code string

message string

id string
Unique identifier of the deleted sponsor.

Sample response

{
  "code": "ok",
  "message": "Sponsor deleted successfully",
  "id": "12345"
}