---
id: update-a-theme
title: 'Update a theme'
description: 'Update a theme'
sidebar_label: 'Update a theme'
hide_title: true
hide_table_of_contents: true
api: eJzNV21v2zYQ/ivEYUATTImbrgMKFf2QBi3arkiD2NkLoiClxXPERiJZknLiCfrvw5GyLL9kWNsP2Sdb5N3xnudeeGzAcMsr9GgdpJcNSAUpGO4LSEDxCunrFhKw+LWWFgWk3taYgMsLrDikDfiFISmpPN6ghba9itLo/GstFiSSa+VRefrLjSllzr3UavTFaUVrK1vGaoPWS3T0RfvXgvvhMc5bqW6gTcAXWOF19HFrux16fDmwtKZ3lSz19PQL5p52pS9pYUJS5+j8sZGHpvZ0It7zypS44dryzHWPVp60CQh0uZWGQC9Nsw70JrPBcWe0cpGDZ0+f/gCDUgy4UXU1pQCFE+rS/98JbzeF10NA2I6GWL4lJg8EpTaCexR00vMfIr5C5/jNA0T9G6peEV5zwbo6Stl7NeelFGxVrcxYPZeCnN1GM9CNWI4eF8uF4rUvtJV/o0jZce0LVL47n/V5swPIUDEi+eVxkbzVdiqFQJWyv3TNhFZPPCv4HJlBW0nnCJHXjOc5Osd8IR2z6HRtc9wFsLcX0T1/XHSn2rOZrpVI2aTAZQqh6CEwodExpT3De0nJtY2otxEQPXv22JlnrKZQ8GmJjLLOL1L2OxVTzD60VttdOE50XYoAtbPQadNRvz52c3ivPFrFS+bQztFGFCk7VqxWeG8wp6CFRabzvLYPlNdb7nnZU5CAw7y2hJFGgS93HtLLK7rPPb+h8SB2SUdt/P4g1wLHwbU4OZRc3UAK+cX5R0ig5FMsV59dAaSQ17ZkB3+ys4sJy6Dw3qSjUalzXhba+fTF0xcvRtzI0fxoFFr36CgDlmWZYuzgHcvguGsHgemUvUZu0bKfjk9O3ozH15NPv705XVc4iTE6mCwMpmwzTCtZwZ40GdziIoOUZTDnZY0ZtE+gTXpsZwtfaDVA1y/0+GRltPXLynGZytTyPmev+mW64PboWPafSUiieIFcoHWvmg0qotcdHRmwn7sOdO31Laq20ybIr3bBzNR+poyVyu8t3T0k4b39/SEBH/icj0P+DEhYW1wFWitHPPTY+R2Xns3Q50WA/k3Am+h/hb7Qghw/u5hscpIupdhmnhDWz8tUaSIxk8DL52SlMsyUyM52tkTpJZ1TLRYp+zD+dHoYK1jOFnsNu8XFgFvW7pM0UfwyU5EWmlJ6SjYI74R0iYelvtkj0f2XQFW4cTWGWYVxFpiCBCI5NLDXFIkwxKewzmdjbluKUugasW5rS0HcGQvYPPMjbTOBcyy1qVD5rv+EHImGGmO117ku23Q0ashUmzZUE+2WtZPaeV0tTSQw51ZSm3Zdywxm6L/AGQ9DXnATEkBVV9SPuk/6CV1p3f67yeSM9XbaBMibdXs93i3nxrGx0h5Nj0xb9v6MjBCWdSM7qer0g3QbHkXL5jrOYxdNuxbbwDSk5lttK072Pvwxge6FRZUUd6G/GgLoNiHla4szi674XiNkxWl1vnquvfmeN04CUs10JGWNg9qgdTgc8wdLlIFRbn4UiXW+4uHm7Oxvpfia+f729HjvR6bkMgxRIQ2bLv0vgRtJZx0tfYcEUnNLyRKz4RKaZsodXtiybWn5a42WLsCrVUKGOhEyzBAC0hkvHW450w8DsHfeTbT7bEX4upPdIleLkPdlTV+QUGOOL+72ivI1NLZwetwYtqiB4tbwQeUYNY7zHENjflj2atA6zi4oa6bdu73SglQsv6N3Kr+LPuoAOeRvWIu3Qx0Hk2iSEosG90GQ+gTs/hConSw0TZSIDbrtSQkXGfHStv8AXCm+cg==
sidebar_class_name: 'put api-method'
info_path: developer-docs/api/superset
custom_edit_url: null
hide_send_button: true
show_extensions: true
---

import MethodEndpoint from '@theme/ApiExplorer/MethodEndpoint';
import ParamsDetails from '@theme/ParamsDetails';
import RequestSchema from '@theme/RequestSchema';
import StatusCodes from '@theme/StatusCodes';
import OperationTabs from '@theme/OperationTabs';
import TabItem from '@theme/TabItem';
import Heading from '@theme/Heading';
import Translate from '@docusaurus/Translate';

<Heading
  as={'h1'}
  className={'openapi__heading'}
  children={'Update a theme'}
></Heading>

<MethodEndpoint
  method={"put"}
  path={"/api/v1/theme/{pk}"}
  context={"endpoint"}
>

</MethodEndpoint>

Update a theme

<Heading id={'request'} as={'h2'} className={'openapi-tabs__heading'}>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails
  {...require("./update-a-theme.ParamsDetails.json")}
>

</ParamsDetails>

<RequestSchema
  {...require("./update-a-theme.RequestSchema.json")}
>

</RequestSchema>

<StatusCodes
  {...require("./update-a-theme.StatusCodes.json")}
>

</StatusCodes>
