---
updatedAt: 2026-04-08T10:20:51.000Z
agentTools:
  projectIndex: https://developer.goacoustic.com/acoustic-content/llms.txt
---

# Update an existing layout.

Use the /layouts/{id} end-point to update an existing layout within the database.<br />User roles: admin, manager

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.142",
    "x-ibm-name": "ibm-watson-content-hub-api",
    "title": "Acoustic Content API",
    "description": "Copyright © Acoustic, L.P. 2019"
  },
  "tags": [
    {
      "name": "Authoring layouts",
      "description": "Use the Content content authoring layout service Rest APIs to work with layouts and layout mappings.\n\nLayouts define the template for the type documents. They define the markup and how to add content properties and elements into the markup. For example, the layouts 'Article', and 'Event' would define what an article or event looks like on the web site, or email.\n\nLayout Mappings define an association between a content-type and one or more layouts. Specifically marking those layouts as valid for the given content-type.\n"
    }
  ],
  "paths": {
    "/authoring/v1/layouts/{id}": {
      "put": {
        "tags": [
          "Authoring layouts"
        ],
        "summary": "Update an existing layout.",
        "description": "Use the /layouts/{id} end-point to update an existing layout within the database.<br />User roles: admin, manager",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The ID of the layout document to update.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "forceOverride",
            "in": "query",
            "description": "Specifies whether revision checking should be disabled.",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "description": "An existing layout.",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "The ID of the layout.",
                    "pattern": "^[a-zA-Z0-9*.\\-+_~$!',()]*$",
                    "minLength": 1,
                    "example": "f26044ca-d92d-49e8-acd9-00563c1e0db9"
                  },
                  "rev": {
                    "type": "string",
                    "description": "The current revision of the layout.",
                    "minLength": 1,
                    "example": "139c63397272172e73f52d22f22f606f6c"
                  },
                  "name": {
                    "type": "string",
                    "description": "The name of the layout.",
                    "pattern": "^[a-zA-Z0-9*. \\-+_~$!',()]*$",
                    "minLength": 1,
                    "example": "Sample layout"
                  },
                  "description": {
                    "type": "string",
                    "description": "The description of the layout.",
                    "pattern": "^[a-zA-Z0-9*. \\-+_~$!',()]*$",
                    "example": "An example description of the sample layout"
                  },
                  "classification": {
                    "type": "string",
                    "description": "Indicates the type of this document.",
                    "enum": [
                      "layout"
                    ]
                  },
                  "creatorId": {
                    "type": "string",
                    "description": "The ID of the user that created the layout.",
                    "example": "8c622bbb-5f5b-45d4-89e1-fce1c054138f"
                  },
                  "creator": {
                    "type": "string",
                    "description": "The display name of the user that created the layout. This field is only returned when the 'include' query string option is set to 'ALL' or 'metadata'.\nThis field is read only.\n",
                    "example": "Thomas Watson"
                  },
                  "created": {
                    "type": "string",
                    "description": "The created date of this layout in ISO 8601 with the format YYYY-MM-DDThh:mm:ss.sssZ. This field is read only.",
                    "format": "date-time"
                  },
                  "lastModifierId": {
                    "type": "string",
                    "description": "The ID of the user that last modified the layout.",
                    "example": "8c622bbb-5f5b-45d4-89e1-fce1c054138f"
                  },
                  "lastModifier": {
                    "type": "string",
                    "description": "The display name of the last user that modified the layout. This field is only returned when the 'include' query string option is set to 'ALL' or 'metadata'.\nThis field is read only.\n",
                    "example": "Thomas Watson"
                  },
                  "lastModified": {
                    "type": "string",
                    "description": "The last modified date of this layout in ISO 8601 with the format YYYY-MM-DDThh:mm:ss.sssZ. This field is read only.",
                    "format": "date-time"
                  },
                  "path": {
                    "type": "string",
                    "description": "Optional path to associate with the layout. Must be unique. Will default to filesystem friendly version of /[NAME].",
                    "example": "/myLayouts/SampleLayout.json"
                  },
                  "prerender": {
                    "type": "boolean",
                    "description": "Indicates if the layout should be prerendered.",
                    "default": false,
                    "example": false
                  },
                  "tags": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "uniqueItems": true,
                    "example": [
                      "news",
                      "sample"
                    ]
                  },
                  "thumbnail": {
                    "type": "object",
                    "description": "The reference to the asset that should act as the thumbnail of this layout.\nThe thumbnail can be referred to by either id or path.\n",
                    "properties": {
                      "id": {
                        "type": "string",
                        "description": "The ID of the asset.",
                        "example": "6c622bbb-5f5b-45d4-89e1-fce1c054138f"
                      },
                      "path": {
                        "type": "string",
                        "description": "The path of the asset. This field is only returned when the 'include' query string option is set to 'ALL' or 'metadata'.\nThis field is read only.\n",
                        "example": "/sales/images/hub.png"
                      },
                      "url": {
                        "type": "string",
                        "description": "The URL of the asset. This field is only returned when the 'include' query string option is set to 'ALL' or 'metadata'.\nThis field is read only.\n",
                        "example": "/authoring/v1/resources/d45c83a8-2738-48a2-89e1-35256ee16283.jpg"
                      }
                    }
                  },
                  "template": {
                    "type": "string",
                    "minLength": 1,
                    "example": "/mytemplates/template.hbs"
                  },
                  "templateType": {
                    "type": "string",
                    "description": "Specifies the type of template associated with this layout. This field is required when prerender field is set to true.",
                    "enum": [
                      "handlebars",
                      "angular"
                    ],
                    "default": "handlebars",
                    "example": "handlebars"
                  },
                  "urlTemplate": {
                    "type": "string",
                    "description": "Specifies the pattern for url generation."
                  },
                  "isSystem": {
                    "type": "boolean",
                    "description": "Indicates whether this item is a 'system item' or not.",
                    "default": false
                  }
                },
                "required": [
                  "rev",
                  "name",
                  "template"
                ]
              }
            }
          },
          "description": "Contains the updated layout object to save.",
          "required": true
        },
        "responses": {
          "200": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "An existing layout.",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The ID of the layout.",
                      "pattern": "^[a-zA-Z0-9*.\\-+_~$!',()]*$",
                      "minLength": 1,
                      "example": "f26044ca-d92d-49e8-acd9-00563c1e0db9"
                    },
                    "rev": {
                      "type": "string",
                      "description": "The current revision of the layout.",
                      "minLength": 1,
                      "example": "139c63397272172e73f52d22f22f606f6c"
                    },
                    "name": {
                      "type": "string",
                      "description": "The name of the layout.",
                      "pattern": "^[a-zA-Z0-9*. \\-+_~$!',()]*$",
                      "minLength": 1,
                      "example": "Sample layout"
                    },
                    "description": {
                      "type": "string",
                      "description": "The description of the layout.",
                      "pattern": "^[a-zA-Z0-9*. \\-+_~$!',()]*$",
                      "example": "An example description of the sample layout"
                    },
                    "classification": {
                      "type": "string",
                      "description": "Indicates the type of this document.",
                      "enum": [
                        "layout"
                      ]
                    },
                    "creatorId": {
                      "type": "string",
                      "description": "The ID of the user that created the layout.",
                      "example": "8c622bbb-5f5b-45d4-89e1-fce1c054138f"
                    },
                    "creator": {
                      "type": "string",
                      "description": "The display name of the user that created the layout. This field is only returned when the 'include' query string option is set to 'ALL' or 'metadata'.\nThis field is read only.\n",
                      "example": "Thomas Watson"
                    },
                    "created": {
                      "type": "string",
                      "description": "The created date of this layout in ISO 8601 with the format YYYY-MM-DDThh:mm:ss.sssZ. This field is read only.",
                      "format": "date-time"
                    },
                    "lastModifierId": {
                      "type": "string",
                      "description": "The ID of the user that last modified the layout.",
                      "example": "8c622bbb-5f5b-45d4-89e1-fce1c054138f"
                    },
                    "lastModifier": {
                      "type": "string",
                      "description": "The display name of the last user that modified the layout. This field is only returned when the 'include' query string option is set to 'ALL' or 'metadata'.\nThis field is read only.\n",
                      "example": "Thomas Watson"
                    },
                    "lastModified": {
                      "type": "string",
                      "description": "The last modified date of this layout in ISO 8601 with the format YYYY-MM-DDThh:mm:ss.sssZ. This field is read only.",
                      "format": "date-time"
                    },
                    "path": {
                      "type": "string",
                      "description": "Optional path to associate with the layout. Must be unique. Will default to filesystem friendly version of /[NAME].",
                      "example": "/myLayouts/SampleLayout.json"
                    },
                    "prerender": {
                      "type": "boolean",
                      "description": "Indicates if the layout should be prerendered.",
                      "default": false,
                      "example": false
                    },
                    "tags": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "uniqueItems": true,
                      "example": [
                        "news",
                        "sample"
                      ]
                    },
                    "thumbnail": {
                      "type": "object",
                      "description": "The reference to the asset that should act as the thumbnail of this layout.\nThe thumbnail can be referred to by either id or path.\n",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "The ID of the asset.",
                          "example": "6c622bbb-5f5b-45d4-89e1-fce1c054138f"
                        },
                        "path": {
                          "type": "string",
                          "description": "The path of the asset. This field is only returned when the 'include' query string option is set to 'ALL' or 'metadata'.\nThis field is read only.\n",
                          "example": "/sales/images/hub.png"
                        },
                        "url": {
                          "type": "string",
                          "description": "The URL of the asset. This field is only returned when the 'include' query string option is set to 'ALL' or 'metadata'.\nThis field is read only.\n",
                          "example": "/authoring/v1/resources/d45c83a8-2738-48a2-89e1-35256ee16283.jpg"
                        }
                      }
                    },
                    "template": {
                      "type": "string",
                      "minLength": 1,
                      "example": "/mytemplates/template.hbs"
                    },
                    "templateType": {
                      "type": "string",
                      "description": "Specifies the type of template associated with this layout. This field is required when prerender field is set to true.",
                      "enum": [
                        "handlebars",
                        "angular"
                      ],
                      "default": "handlebars",
                      "example": "handlebars"
                    },
                    "urlTemplate": {
                      "type": "string",
                      "description": "Specifies the pattern for url generation."
                    },
                    "isSystem": {
                      "type": "boolean",
                      "description": "Indicates whether this item is a 'system item' or not.",
                      "default": false
                    }
                  },
                  "required": [
                    "rev",
                    "name",
                    "template"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "Invalid ID or Invalid input.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "an error response.",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "description": "an individual error, info or warning message.",
                        "properties": {
                          "code": {
                            "type": "integer",
                            "description": "The message code."
                          },
                          "key": {
                            "type": "string",
                            "description": "The message key."
                          },
                          "message": {
                            "type": "string",
                            "description": "The error message."
                          },
                          "description": {
                            "type": "string",
                            "description": "Optional detailed error message."
                          },
                          "more_info": {
                            "type": "string",
                            "description": "Optional additional information for the message."
                          },
                          "category": {
                            "type": "string",
                            "description": "The message category whereby only user messages are designed to be shown to an end user.",
                            "enum": [
                              "API",
                              "USER"
                            ]
                          },
                          "level": {
                            "type": "string",
                            "description": "Indicates the message level.",
                            "enum": [
                              "INFO",
                              "WARNING",
                              "ERROR"
                            ]
                          },
                          "parameters": {
                            "type": "object",
                            "description": "The message parameters of this message."
                          },
                          "field": {
                            "type": "string",
                            "description": "Only present on field validation errors, indicates the field in error."
                          },
                          "locale": {
                            "type": "string",
                            "description": "The current locale used to produce the error message."
                          }
                        }
                      }
                    },
                    "requestId": {
                      "type": "string",
                      "description": "The current request ID."
                    },
                    "service": {
                      "type": "string",
                      "description": "The name of the service that produced the error."
                    },
                    "requestMethod": {
                      "type": "string",
                      "description": "The Http method type of the current request."
                    },
                    "requestUri": {
                      "type": "string",
                      "description": "The current request uri."
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "The user is not authorized to run this action.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "an error response.",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "description": "an individual error, info or warning message.",
                        "properties": {
                          "code": {
                            "type": "integer",
                            "description": "The message code."
                          },
                          "key": {
                            "type": "string",
                            "description": "The message key."
                          },
                          "message": {
                            "type": "string",
                            "description": "The error message."
                          },
                          "description": {
                            "type": "string",
                            "description": "Optional detailed error message."
                          },
                          "more_info": {
                            "type": "string",
                            "description": "Optional additional information for the message."
                          },
                          "category": {
                            "type": "string",
                            "description": "The message category whereby only user messages are designed to be shown to an end user.",
                            "enum": [
                              "API",
                              "USER"
                            ]
                          },
                          "level": {
                            "type": "string",
                            "description": "Indicates the message level.",
                            "enum": [
                              "INFO",
                              "WARNING",
                              "ERROR"
                            ]
                          },
                          "parameters": {
                            "type": "object",
                            "description": "The message parameters of this message."
                          },
                          "field": {
                            "type": "string",
                            "description": "Only present on field validation errors, indicates the field in error."
                          },
                          "locale": {
                            "type": "string",
                            "description": "The current locale used to produce the error message."
                          }
                        }
                      }
                    },
                    "requestId": {
                      "type": "string",
                      "description": "The current request ID."
                    },
                    "service": {
                      "type": "string",
                      "description": "The name of the service that produced the error."
                    },
                    "requestMethod": {
                      "type": "string",
                      "description": "The Http method type of the current request."
                    },
                    "requestUri": {
                      "type": "string",
                      "description": "The current request uri."
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "The operation is not available based on the current tenant's tier.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "an error response.",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "description": "an individual error, info or warning message.",
                        "properties": {
                          "code": {
                            "type": "integer",
                            "description": "The message code."
                          },
                          "key": {
                            "type": "string",
                            "description": "The message key."
                          },
                          "message": {
                            "type": "string",
                            "description": "The error message."
                          },
                          "description": {
                            "type": "string",
                            "description": "Optional detailed error message."
                          },
                          "more_info": {
                            "type": "string",
                            "description": "Optional additional information for the message."
                          },
                          "category": {
                            "type": "string",
                            "description": "The message category whereby only user messages are designed to be shown to an end user.",
                            "enum": [
                              "API",
                              "USER"
                            ]
                          },
                          "level": {
                            "type": "string",
                            "description": "Indicates the message level.",
                            "enum": [
                              "INFO",
                              "WARNING",
                              "ERROR"
                            ]
                          },
                          "parameters": {
                            "type": "object",
                            "description": "The message parameters of this message."
                          },
                          "field": {
                            "type": "string",
                            "description": "Only present on field validation errors, indicates the field in error."
                          },
                          "locale": {
                            "type": "string",
                            "description": "The current locale used to produce the error message."
                          }
                        }
                      }
                    },
                    "requestId": {
                      "type": "string",
                      "description": "The current request ID."
                    },
                    "service": {
                      "type": "string",
                      "description": "The name of the service that produced the error."
                    },
                    "requestMethod": {
                      "type": "string",
                      "description": "The Http method type of the current request."
                    },
                    "requestUri": {
                      "type": "string",
                      "description": "The current request uri."
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "The document with ID {id} was not found OR Current tenant's database is not provisioned.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "an error response.",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "description": "an individual error, info or warning message.",
                        "properties": {
                          "code": {
                            "type": "integer",
                            "description": "The message code."
                          },
                          "key": {
                            "type": "string",
                            "description": "The message key."
                          },
                          "message": {
                            "type": "string",
                            "description": "The error message."
                          },
                          "description": {
                            "type": "string",
                            "description": "Optional detailed error message."
                          },
                          "more_info": {
                            "type": "string",
                            "description": "Optional additional information for the message."
                          },
                          "category": {
                            "type": "string",
                            "description": "The message category whereby only user messages are designed to be shown to an end user.",
                            "enum": [
                              "API",
                              "USER"
                            ]
                          },
                          "level": {
                            "type": "string",
                            "description": "Indicates the message level.",
                            "enum": [
                              "INFO",
                              "WARNING",
                              "ERROR"
                            ]
                          },
                          "parameters": {
                            "type": "object",
                            "description": "The message parameters of this message."
                          },
                          "field": {
                            "type": "string",
                            "description": "Only present on field validation errors, indicates the field in error."
                          },
                          "locale": {
                            "type": "string",
                            "description": "The current locale used to produce the error message."
                          }
                        }
                      }
                    },
                    "requestId": {
                      "type": "string",
                      "description": "The current request ID."
                    },
                    "service": {
                      "type": "string",
                      "description": "The name of the service that produced the error."
                    },
                    "requestMethod": {
                      "type": "string",
                      "description": "The Http method type of the current request."
                    },
                    "requestUri": {
                      "type": "string",
                      "description": "The current request uri."
                    }
                  }
                }
              }
            }
          },
          "409": {
            "description": "Another user updated the document since it was last retrieved OR when changing the path, there is an existing document at that path.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "an error response.",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "description": "an individual error, info or warning message.",
                        "properties": {
                          "code": {
                            "type": "integer",
                            "description": "The message code."
                          },
                          "key": {
                            "type": "string",
                            "description": "The message key."
                          },
                          "message": {
                            "type": "string",
                            "description": "The error message."
                          },
                          "description": {
                            "type": "string",
                            "description": "Optional detailed error message."
                          },
                          "more_info": {
                            "type": "string",
                            "description": "Optional additional information for the message."
                          },
                          "category": {
                            "type": "string",
                            "description": "The message category whereby only user messages are designed to be shown to an end user.",
                            "enum": [
                              "API",
                              "USER"
                            ]
                          },
                          "level": {
                            "type": "string",
                            "description": "Indicates the message level.",
                            "enum": [
                              "INFO",
                              "WARNING",
                              "ERROR"
                            ]
                          },
                          "parameters": {
                            "type": "object",
                            "description": "The message parameters of this message."
                          },
                          "field": {
                            "type": "string",
                            "description": "Only present on field validation errors, indicates the field in error."
                          },
                          "locale": {
                            "type": "string",
                            "description": "The current locale used to produce the error message."
                          }
                        }
                      }
                    },
                    "requestId": {
                      "type": "string",
                      "description": "The current request ID."
                    },
                    "service": {
                      "type": "string",
                      "description": "The name of the service that produced the error."
                    },
                    "requestMethod": {
                      "type": "string",
                      "description": "The Http method type of the current request."
                    },
                    "requestUri": {
                      "type": "string",
                      "description": "The current request uri."
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests, the server has reached a limit, the request must be sent again at a later time.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected error.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "description": "an error response.",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "description": "an individual error, info or warning message.",
                        "properties": {
                          "code": {
                            "type": "integer",
                            "description": "The message code."
                          },
                          "key": {
                            "type": "string",
                            "description": "The message key."
                          },
                          "message": {
                            "type": "string",
                            "description": "The error message."
                          },
                          "description": {
                            "type": "string",
                            "description": "Optional detailed error message."
                          },
                          "more_info": {
                            "type": "string",
                            "description": "Optional additional information for the message."
                          },
                          "category": {
                            "type": "string",
                            "description": "The message category whereby only user messages are designed to be shown to an end user.",
                            "enum": [
                              "API",
                              "USER"
                            ]
                          },
                          "level": {
                            "type": "string",
                            "description": "Indicates the message level.",
                            "enum": [
                              "INFO",
                              "WARNING",
                              "ERROR"
                            ]
                          },
                          "parameters": {
                            "type": "object",
                            "description": "The message parameters of this message."
                          },
                          "field": {
                            "type": "string",
                            "description": "Only present on field validation errors, indicates the field in error."
                          },
                          "locale": {
                            "type": "string",
                            "description": "The current locale used to produce the error message."
                          }
                        }
                      }
                    },
                    "requestId": {
                      "type": "string",
                      "description": "The current request ID."
                    },
                    "service": {
                      "type": "string",
                      "description": "The name of the service that produced the error."
                    },
                    "requestMethod": {
                      "type": "string",
                      "description": "The Http method type of the current request."
                    },
                    "requestUri": {
                      "type": "string",
                      "description": "The current request uri."
                    }
                  }
                }
              }
            }
          }
        },
        "x-ibm-dx-security-user-roles": [
          "admin",
          "manager"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ErrorResponse": {
        "description": "This JSON record represents an error condition.",
        "type": "object",
        "properties": {
          "errors": {
            "type": "array",
            "items": {
              "description": "This JSON record represents an individual error or warning contained in an error message.",
              "type": "object",
              "properties": {
                "code": {
                  "type": "integer",
                  "description": "An error code"
                },
                "message": {
                  "type": "string",
                  "description": "A message describing what went wrong."
                },
                "description": {
                  "type": "string",
                  "description": "Further explanation of the error condition and potential next steps to resolve the problem."
                },
                "more_info": {
                  "type": "string",
                  "description": "A URL pointing to a web site that provides more information on the given error condition."
                },
                "level": {
                  "type": "string",
                  "enum": [
                    "ERROR",
                    "WARNING"
                  ],
                  "description": "The severity level of the message. Default is error."
                },
                "parameters": {
                  "type": "object",
                  "description": "Additional properties reflecting the dynamic parts of the error condition."
                },
                "cause": {
                  "type": "object",
                  "description": "This property can be used to transport causing error message records produced by a down stream service calls."
                },
                "locale": {
                  "type": "string",
                  "description": "This property represents the locale of the text contained in properties 'message', and 'description'. This property is mandatory if message and description contain translated text."
                }
              },
              "required": [
                "code",
                "message"
              ]
            }
          },
          "requestId": {
            "type": "string",
            "description": "The ID of the failing request."
          },
          "service": {
            "type": "string",
            "description": "The name of the service serving the error message."
          }
        },
        "required": [
          "errors",
          "requestId"
        ]
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```