Update a layout
Updates the details of an existing layout, here layoutId is the identifier of the layout
Authorization
Authorization<token>API key authentication. Allowed headers-- "Authorization: ApiKey <api_key>".
In: header
Request Body
application/jsonRequiredLayout update details
nameRequiredstringName of the layout
isTranslationEnabledbooleanEnable or disable translations for this layout
Default:
falsecontrolValuesobjectControl values for the layout
Path Parameters
layoutIdRequiredstringHeader Parameters
idempotency-keystringA header for idempotency purposes
Response Body
OK
_idRequiredstringUnique internal identifier of the layout
layoutIdRequiredstringUnique identifier for the layout
slugRequiredstringSlug of the layout
nameRequiredstringName of the layout
isDefaultRequiredbooleanWhether the layout is the default layout
isTranslationEnabledRequiredbooleanWhether the layout translations are enabled
updatedAtRequiredstringLast updated timestamp
updatedByobjectUser who last updated the layout
createdAtRequiredstringCreation timestamp
originRequiredstringOrigin of the layout
Value in:
"novu-cloud" | "novu-cloud-v1" | "external"typeRequiredstringType of the layout
Value in:
"REGULAR" | "ECHO" | "BRIDGE"variablesobject | nullThe variables JSON Schema for the layout
controlsRequiredobjectControls metadata for the layout