Skip to main content
PATCH
/
v1
/
blocklist
/
{itemId}
curl --request PATCH \
  --url https://openapi.enginy.ai/v1/blocklist/{itemId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "periodDays": 30
}
'
{
  "message": "<string>",
  "data": {
    "id": 123,
    "value": "<string>",
    "expiresAt": "2023-11-07T05:31:56Z",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "createdBy": {
      "id": 123,
      "name": "<string>"
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.enginy.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-key
string
header
required

Path Parameters

itemId
string
required

The blocklist item ID

Body

application/json
reason
enum<string>

New reason classification.

Available options:
NOT_INTERESTED,
COMPETITOR,
CUSTOMER,
NOT_TARGET,
OTHER,
CHURN
value
string

New raw value. LINKEDIN_URL / COMPANY_LINKEDIN_URL entries are normalized server-side; if normalization fails the request is rejected.

Minimum string length: 1
periodDays
integer | null

Reset the expiry relative to now. Pass 0 or null to make the entry permanent. Ignored when expiresAt is supplied.

Required range: x >= 0
expiresAt
string<date-time> | null

Explicit ISO-8601 expiry. Pass null to make the entry permanent. Takes precedence over periodDays.

Response

Blocklist item updated

status
enum<string>
required
Available options:
success
message
string
required
data
object
required