Skip to main content
DELETE
/
api
/
org-lists
/
{listType}
/
entries
/
{id}
Delete an org-list entry
curl --request DELETE \
  --url https://app.solya.app/api/org-lists/{listType}/entries/{id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Authorizations

Authorization
string
header
required

User session token issued by NextAuth. For human users accessing Solya via the web application.

Path Parameters

listType
enum<string>
required

List type: SUPPLIER_BLACKLIST | BRAND_RESTRICTION | RETURN_REASON_CODE

Available options:
SUPPLIER_BLACKLIST,
BRAND_RESTRICTION,
RETURN_REASON_CODE
id
string
required

Unique identifier of the org-list entry (UUID)

Minimum string length: 1

Response

Successful response

data
object
required
success
enum<boolean>
required
Available options:
true