ResourcesBlacklists

Delete a Blacklist Rule

Permanently delete a blacklist rule from your store.

DELETE
/v1/blacklists/{blacklist}

Authorization

bearerAuth
AuthorizationBearer <token>

Provide your SellApp API key as a bearer token.

In: header

Path Parameters

blacklist*integer

The unique identifier of the blacklist rule.

Response Body

application/json

application/json

application/json

curl -X DELETE "https://sell.app/api/v1/blacklists/1"
{
  "data": {
    "id": 1,
    "type": "WILDCARD_EMAIL",
    "data": "@yahoo.com",
    "description": "This email domain is dangerous",
    "created_at": "2022-12-12T12:12:12.000000Z",
    "updated_at": "2022-12-12T12:12:12.000000Z",
    "store_id": 1
  }
}
{
  "message": "Unauthenticated."
}
{
  "message": "Blacklist rule not found."
}