Update a block entry
Updates a block entry's reason, notes, active state, or expiry. Use this endpoint to update a block entry through the Samva email API.
Updates a block entry's reason, notes, active state, or expiry.
Authorization
apiKey x-api-key<token>
In: header
Path Parameters
id*string
Match
^blk_[0-9a-hjkmnp-tv-z]{16,24}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
reason?string|null
notes?string|null
isActive?boolean|null
expiresAt?string|null|null
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/email/blocks/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "blockType": "email", "blockValue": "string", "reason": "string", "notes": "string", "isActive": true, "expiresAt": "string", "updatedAt": "string"}Related documentation
Set a domain's default sender
Sets the default sender used for omitted-`from` sends from this domain. The sender must belong to the domain and be verified and active.
Update catch-all configuration
Updates a domain's catch-all receiving configuration: the webhook endpoint that receives its inbound mail.