PUT Update Email Pattern​
PUT
/email-patterns/{id}
Update an existing reusable email pattern. Supports both the standard pattern fields and the WordPress editor-style fields used by the block editor middleware.
Authorizations​
ApplicationPasswords
WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password
Type
API Key (header: Authorization)
Parameters​
Path Parameters
id*
The email pattern ID.
Type
Requiredinteger
Request Body​
application/json
JSON
{
"title": "string",
"content": "string",
"category": "string",
"wp_pattern_category": [
0
],
"description": "string",
"sync_status": "string",
"meta": {
"wp_pattern_sync_status": "string"
}
}
Responses​
Email pattern updated successfully.
application/json
JSON
{
"message": "string",
"pattern": {
"id": 0,
"slug": "string",
"title": "string",
"content": "string",
"category": "string",
"description": "string",
"sync_status": "unsynced",
"created_at": "string",
"updated_at": "string"
}
}