Delete a listing

Request Information
URL DELETE {{basepath}}/domaincheckListing/:domainname
CategoryDomain Check Listing

Description

shows a listing by domainname or id of the listing

Url variables
:domainnameexample.com
JSON
{
    "price": 133.7,
    "currency": "EUR",
    "provider": "dan.com",
    "status": "available"
}

Example responses

Delete a listing
Request Method & URL
DELETE {{basepath}}/domaincheckListing/:domainname
Url variables
:domainnameexample.com
Response Code:
200 OK
Response Body:
{
    "responseId": "1_fe2138e2de61c9f9b07eb3934d50b6cf60c08e4e",
    "listing": {
        "id": 7,
        "domainname": "example.com",
        "status": "unavailable",
        "currency": "EUR",
        "price": 133.7,
        "whereToBuy": "https:\/\/dan.com\/example.com",
        "created": 1648047657,
        "modified": 1648047662
    }
}
cannot be updated
Request Method & URL
DELETE {{basepath}}/domaincheckListing/:domainname
Request Body:
{
    "price": 133.7,
    "currency": "EUR",
    "provider": "dan.com",
    "status": "available"
}
Url variables
:domainnameexample.com
Response Code:
409 Conflict
Response Body:
{
    "responseId": "1_d8c089da7192aeba2cc8355acec584e50d8bef4c",
    "status": "error",
    "errorCode": "cannot_be_updated",
    "errorMessage": "Sorry this listing can no longer be updated"
}