Light Mode
Delete Advertisement
DELETE
/advertisements/{advertisements_id}Last modified: a month ago
This endpoint allows you to delete an existing advertisement post by passing the advertisement_id
as a path parameter.
Request
Path Params
advertisements_id
integer
required
Unique identification number assigned to the Advertisement. List of Advertisement IDs can be found here.
Request samples
Responses
Deleted Successfully(202)
Not Found(404)
Unauthorized(401)
Deleted Successfully
HTTP Code: 202
Content Type : JSONapplication/json
Data Schema
status
number
optional
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.Response status Code
success
boolean
optional
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
data
#/definitions/1387289optional
Example
{
"status": 202,
"success": true,
"data": {
"message": "The advertisement has been removed successfully",
"code": 202
}
}
Last modified: a month ago