Add a suppression
POST
/suppressions授权
AuthorizationBearer 令牌 · header必填A BillionSend API key (bs_…).
请求体
必填application/jsonemailstring<email>必填Bare email address to block; stored normalized (lowercase)
originstringOrigin recorded on rows this request creates (default manual): bounce, complaint or manual; an address already suppressed keeps its origin
允许值:
bouncecomplaintmanual响应
200
Address blocked with the given origin (bounce, complaint or manual; default manual). Idempotent: an address already suppressed keeps its entry and origin and its existing id is returned.
objectstring必填允许值:
suppressionidstring<uuid>必填401
Missing, malformed, unknown or revoked API key
statusCodenumber必填namestring必填messagestring必填422
Validation error
statusCodenumber必填namestring必填messagestring必填429
Over the rate limit (rate_limit_exceeded, with Retry-After)
statusCodenumber必填namestring必填messagestring必填