API ReferenceEmail
Update Email Block
Authorization
apiKey X-API-Key<token>
API key for authentication
In: header
Request Body
application/json
blockId*string
Block ID to update
Format
uuidreason?string
Updated reason
notes?string
Updated notes
isActive?boolean
Updated active status
expiresAt?string|null
Updated expiration
Response Body
application/json
curl -X PATCH "https://samva.app/api/v1/email/blocks/:blockId" \ -H "Content-Type: application/json" \ -d '{ "blockId": "fcde1d7c-c9cf-4365-8b6f-51bb6a8bc460" }'{
"id": "string",
"blockType": "email",
"blockValue": "string",
"reason": "string",
"notes": "string",
"isActive": true,
"expiresAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}