API ReferenceEmail
Update Forwarding Rule
Authorization
apiKey X-API-Key<token>
API key for authentication
In: header
Request Body
application/json
name?string
description?string|null
domainId?string|null
sourcePattern?string|null
forwardTo?array<string>
preserveHeaders?boolean
appendNote?string|null
conditions?|null
priority?integer
Range
-2147483648 <= value <= 2147483647isActive?boolean
metadata?|null
ruleId*string
Format
uuidResponse Body
application/json
curl -X PATCH "https://samva.app/api/v1/email/forwarding/rules/:ruleId" \ -H "Content-Type: application/json" \ -d '{ "ruleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac" }'{
"id": "string",
"name": "string",
"forwardTo": [
"string"
],
"priority": 0,
"isActive": true,
"updatedAt": "2019-08-24T14:15:22Z"
}