Brevo: remove an address from the suppression list
const url = 'http://localhost:3000/v3/smtp/blockedContacts/hello%40example.com';const options = {method: 'DELETE', headers: {'api-key': '<api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url http://localhost:3000/v3/smtp/blockedContacts/hello%40example.com \ --header 'api-key: <api-key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Unblocked.
Headers
Section titled “Headers”Id of the request (req_…), also the id of its request log row.
Id of the request (req_…), also the id of its request log row.
Requests per window.
Requests per window.
Whole tokens left in the bucket.
Whole tokens left in the bucket.
Seconds until the bucket is full again.
Seconds until the bucket is full again.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Set when the response is replayed for the same Idempotency-Key.
Set when the response is replayed for the same Idempotency-Key.
Error: validation_error, idempotency_mismatch
object
Example
{ "code": "invalid_parameter"}Headers
Section titled “Headers”Id of the request (req_…), also the id of its request log row.
Id of the request (req_…), also the id of its request log row.
Requests per window.
Requests per window.
Whole tokens left in the bucket.
Whole tokens left in the bucket.
Seconds until the bucket is full again.
Seconds until the bucket is full again.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Error: unauthorized
object
Example
{ "code": "invalid_parameter"}Headers
Section titled “Headers”Id of the request (req_…), also the id of its request log row.
Id of the request (req_…), also the id of its request log row.
Sent with every 401.
Sent with every 401.
Requests per window.
Requests per window.
Whole tokens left in the bucket.
Whole tokens left in the bucket.
Seconds until the bucket is full again.
Seconds until the bucket is full again.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Error: forbidden
object
Example
{ "code": "invalid_parameter"}Headers
Section titled “Headers”Id of the request (req_…), also the id of its request log row.
Id of the request (req_…), also the id of its request log row.
Requests per window.
Requests per window.
Whole tokens left in the bucket.
Whole tokens left in the bucket.
Seconds until the bucket is full again.
Seconds until the bucket is full again.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Error: not_found
object
Example
{ "code": "invalid_parameter"}Headers
Section titled “Headers”Id of the request (req_…), also the id of its request log row.
Id of the request (req_…), also the id of its request log row.
Requests per window.
Requests per window.
Whole tokens left in the bucket.
Whole tokens left in the bucket.
Seconds until the bucket is full again.
Seconds until the bucket is full again.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Error: rate_limited, chaos_injected
object
Example
{ "code": "invalid_parameter"}Headers
Section titled “Headers”Id of the request (req_…), also the id of its request log row.
Id of the request (req_…), also the id of its request log row.
Seconds until one token is back (at least 1).
Seconds until one token is back (at least 1).
Requests per window.
Requests per window.
Whole tokens left in the bucket.
Whole tokens left in the bucket.
Seconds until the bucket is full again.
Seconds until the bucket is full again.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Error: chaos_injected, internal_error
object
Example
{ "code": "invalid_parameter"}Headers
Section titled “Headers”Id of the request (req_…), also the id of its request log row.
Id of the request (req_…), also the id of its request log row.
Requests per window.
Requests per window.
Whole tokens left in the bucket.
Whole tokens left in the bucket.
Seconds until the bucket is full again.
Seconds until the bucket is full again.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Error: chaos_injected
object
Example
{ "code": "invalid_parameter"}Headers
Section titled “Headers”Id of the request (req_…), also the id of its request log row.
Id of the request (req_…), also the id of its request log row.
Requests per window.
Requests per window.
Whole tokens left in the bucket.
Whole tokens left in the bucket.
Seconds until the bucket is full again.
Seconds until the bucket is full again.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Error: chaos_injected
object
Example
{ "code": "invalid_parameter"}Headers
Section titled “Headers”Id of the request (req_…), also the id of its request log row.
Id of the request (req_…), also the id of its request log row.
Requests per window.
Requests per window.
Whole tokens left in the bucket.
Whole tokens left in the bucket.
Seconds until the bucket is full again.
Seconds until the bucket is full again.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.
Brevo copy of the matching X-RateLimit header.