Skip to main content
POST
Block a customer on a channel

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Gövde

application/json
channel_id
integer
gerekli

The channel identifier the customer is being blocked on.

customer_id
integer
gerekli

The customer identifier to block.

reason
enum<string>
gerekli

The reason of the blacklist entry.

Mevcut seçenekler:
rate_limit,
llm_spam,
manual,
security_threat,
abusive_language
ttl_seconds
integer | null

Block duration in seconds. Omit or pass null to block permanently.

Gerekli aralık: x >= 1
note
string | null

Optional note to attach to the blacklist entry.

Maximum string length: 1000
metadata
string[] | null

Optional metadata to attach to the blacklist entry.

Yanıt

success
string
gerekli
data
ChannelBlacklistResource · object
gerekli