# Update Slide Template **PUT /admin/slide/layout/{id}** Updates an existing slide template by ID. Admin access required. ## Servers - Local development server: http://localhost:8080/api (Local development server) - Production server: https://api.huy-devops.site/api (Production server) ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **id** (string) Unique identifier of the slide template to update ### Body: application/json (object) - **id** (string) Unique identifier for the slide template - **name** (string) Name of the slide template - **layout** (string) The layout of the slide - **config** (object) PartialTemplateConfig - **graphics** (array[object]) Optional decorative graphics - **parameters** (array[object] | null) Parameters for customizing the slide template - **createdAt** (string(date-time)) Timestamp when the slide template was created - **updatedAt** (string(date-time)) Timestamp when the slide template was last updated ## Responses ### 200 Slide template updated successfully #### Body: application/json (object) - **success** (boolean) - **code** (integer(int32)) - **message** (string) - **data** (object) ### 400 Bad Request - Invalid input data ### 401 Unauthorized - Invalid or missing token ### 403 Forbidden - Admin access required ### 404 Not Found - Slide template does not exist ### 500 Internal Server Error [Powered by Bump.sh](https://bump.sh)