Email Options
Edit email options
Set one or more writable email options on an email. Only the keys you send are changed; every other option is left untouched. Keys are matched case insensitively. If any key in the request is unknown or not writable, the whole request is rejected and nothing is saved.
patch/assets/{asset_id}/options
Request
- Base URLhttps://enterprise.knak.io/api/published/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
asset_idstring required
ID of the email
Request body
Example request
{
"custom_head_code": "%%[ VAR @firstName SET @firstName = AttributeValue(\"FirstName\") ]%%"
}Response
OK
Example response
{
"data": {
"custom_head_code": "%%[ VAR @firstName SET @firstName = AttributeValue(\"FirstName\") ]%%"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.