{ "success": true, "config": { "accentColor": "#da7756", "backgroundColor": "#f1f5f9", "borderRadius": 10, "headerText": "Customize Your Design", "primaryColor": "#0f172a", "uploadText": "Drop image or click to upload" }, "config_version": 3}
What you send is merged into the stored configuration for the API key that made
the call, so one write can carry a single field or all of them. Send
config_version as the version you last read: the write lands only while that is
still the stored version, and the response returns the effective configuration
with its new version number. Sending a field as null drops your override and
returns that control to its default.
Every header control can be turned off, showClose included. With nothing
visible left in it the header is not drawn at all, and closing the editor
becomes the host page’s job. Keep twoDShowArtwork or twoDShowFill on, so a
shopper always has a way to finish a design in the photo editor.
{ "success": true, "config": { "accentColor": "#da7756", "backgroundColor": "#f1f5f9", "borderRadius": 10, "headerText": "Customize Your Design", "primaryColor": "#0f172a", "uploadText": "Drop image or click to upload" }, "config_version": 3}
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"SudoMock","description":"SudoMock is the mockup rendering API for developers, with official Node and Python SDKs. The documentation covers the REST API, PSD, photo and video mockups, text and fonts, webhooks, no-code integrations, the MCP server, and a two-request quickstart.","colors":{"primary":"#000000","light":"#EBECED","dark":"#0A0C10"},"logo":{"light":"https://mintcdn.com/sudo-mock/k_SKXOv-XiTkG1YZ/logo/light.svg?fit=max\u0026auto=format\u0026n=k_SKXOv-XiTkG1YZ\u0026q=85\u0026s=be9874fe12d9a2612e2297718b1e2b7b","dark":"https://mintcdn.com/sudo-mock/k_SKXOv-XiTkG1YZ/logo/dark.svg?fit=max\u0026auto=format\u0026n=k_SKXOv-XiTkG1YZ\u0026q=85\u0026s=272dbcb1a315ab04de47116c9f6653b5","href":"https://sudomock.com"},"favicon":"https://mintcdn.com/sudo-mock/e9NU0geOnUowqtju/favicon.png?fit=max\u0026auto=format\u0026n=e9NU0geOnUowqtju\u0026q=85\u0026s=b47f7ab48cc2446be90cd1725bf0701c","api":{"openapi":"openapi.json","params":{"post":["format"]},"playground":{"display":"interactive"},"examples":{"languages":["node","php","python","ruby","go","java","dotnet","curl"],"prefill":true,"autogenerate":true}},"background":{"color":{"dark":"#000000"}},"navbar":{"links":[{"href":"https://sudomock.com/pricing","label":"Pricing"},{"href":"https://github.com/sudomock","type":"github"}],"primary":{"type":"button","label":"Start rendering","href":"https://sudomock.com/login"}},"footer":{"socials":{"website":"https://sudomock.com","x":"https://twitter.com/sudomock","github":"https://github.com/sudomock","youtube":"https://www.youtube.com/@sudomock"},"links":[{"header":"Product","items":[{"label":"Mockup generator","href":"https://sudomock.com"},{"label":"Pricing","href":"https://sudomock.com/pricing"},{"label":"Dashboard","href":"https://sudomock.com/dashboard"}]},{"header":"Developers","items":[{"label":"Quickstart","href":"https://sudomock.com/docs/quickstart"},{"label":"Authentication","href":"https://sudomock.com/docs/authentication"},{"label":"OpenAPI spec","href":"https://assets.sudomock.com/openapi.json"},{"label":"SDKs","href":"https://sudomock.com/docs/sdks"}]},{"header":"Company","items":[{"label":"Changelog","href":"https://sudomock.com/changelog"},{"label":"Contact","href":"https://sudomock.com/contact"},{"label":"System status","href":"https://sudomock.statuspage.io/"}]}]},"search":{"prompt":"Search the docs"},"seo":{"organization":{"id":"https://sudomock.com/#organization","name":"SudoMock","url":"https://sudomock.com","logo":"https://sudomock.com/icon-512.png","sameAs":["https://twitter.com/sudomock","https://github.com/sudomock","https://www.youtube.com/@sudomock","https://sudomock.statuspage.io/"]}},"fonts":{"heading":{"family":"Inter","weight":700},"body":{"family":"Inter","weight":400}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":{"light":"github-light","dark":"vesper"}},"latex":false},"integrations":{"ga4":{"measurementId":"G-NGVK3ZWYTQ"},"mixpanel":{"projectToken":"0c806bc470e63134b90b6ba48a5550ab"}},"errors":{"404":{"redirect":false,"title":"That page is not here","description":"Start from the [Quickstart](/quickstart) or open the [API reference](/api-reference/introduction)."}},"contextual":{"options":["copy",{"title":"llms-full.txt","description":"View all docs as Markdown for LLMs","icon":"markdown","href":"https://sudomock.com/docs/llms-full.txt"},"cursor","vscode","add-mcp","claude","chatgpt","download-spec"],"display":"header"},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/sudo-mock/TtZ3gW6RWbSyruqv/images/thumbnail-background.png?fit=max\u0026auto=format\u0026n=TtZ3gW6RWbSyruqv\u0026q=85\u0026s=d6d4d5ff4df2bbcee158bbc441da6c32","fonts":{"family":"Inter"}},"markdown":{"instructions":["The base URL is https://api.sudomock.com.","Authenticate every request with the x-api-key header. Keys begin with sm_.","A render returns the finished image at data.print_files[0].export_path. A request sent with is_async true returns a job_id to poll at GET /api/v1/jobs/{job_id}.","Prefer the official SDKs over hand-written HTTP calls: npm install sudomock for Node, pip install sudomock for Python."]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"sudo-mock","hasAudioNarration":false,"actualSubdomain":"sudo-mock","customDomains":["sudomock.com"],"gitSource":{"type":"github","owner":"sudomock","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true,"edits":false,"issues":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6af1241ce8dff09dea5d3dde","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API reference","count":57},{"language":"default","tag":"Guides","count":50},{"language":"default","tag":"Documentation","count":26},{"language":"default","tag":"Get started","count":15},{"language":"default","tag":"PSD mockups","count":14},{"language":"default","tag":"Rendering examples","count":12},{"language":"default","tag":"Photo mockups","count":10},{"language":"default","tag":"Learn","count":9},{"language":"default","tag":"Integrations","count":9},{"language":"default","tag":"Webhook endpoints","count":7}],"searchSettings":{"isFiltersEnabled":false}},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":false}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html:not(.dark) ::selection{background-color:#0000001a}html.dark ::selection{background-color:#ffffff33}.tryit-button{background-color:#0f172a;border-color:#0f172a;color:#ffffff}.tryit-button:hover{background-color:#1e293b;border-color:#1e293b}html.dark .tryit-button{background-color:#f4f4f5;border-color:#f4f4f5;color:#09090b}.tryit-button .icon{background-color:currentColor}html.dark .tryit-button:hover{background-color:#e4e4e7;border-color:#e4e4e7}html.dark #topbar-cta-button>a{background-color:#f4f4f5}html.dark #topbar-cta-button>a,html.dark #topbar-cta-button>a span{color:#09090b}html.dark #topbar-cta-button>a:hover{background-color:#e4e4e7}#page-context-menu-button{padding-block:8px}#page-context-menu-button span{display:none}.border-standard.rounded-2xl .border-standard.rounded-xl{border-color:transparent}#page-context-menu{min-width:0}"}],"page":{"pagePath":"api-reference/studio/update-the-studio-config","slug":"/api-reference/studio/update-the-studio-config","pageMetadata":{"title":"Update the Studio config","sidebarTitle":"Update Studio config","openapi":"openapi.json PUT /api/v1/studio/config","description":"Updates the Studio appearance and controls for this API key.","href":"/api-reference/studio/update-the-studio-config"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Updates the Studio appearance and controls for this API key.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`What you send is merged into the stored configuration for the API key that made\nthe call, so one write can carry a single field or all of them. Send\n`,_jsx(_components.code,{children:`config_version`}),` as the version you last read: the write lands only while that is\nstill the stored version, and the response returns the effective configuration\nwith its new version number. Sending a field as `,_jsx(_components.code,{children:`null`}),` drops your override and\nreturns that control to its default.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Every header control can be turned off, `,_jsx(_components.code,{children:`showClose`}),` included. With nothing\nvisible left in it the header is not drawn at all, and closing the editor\nbecomes the host page’s job. Keep `,_jsx(_components.code,{children:`twoDShowArtwork`}),` or `,_jsx(_components.code,{children:`twoDShowFill`}),` on, so a\nshopper always has a way to finish a design in the photo editor.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"vesper"}},"config":{},"pageMetadata":{"title":"Update the Studio config","sidebarTitle":"Update Studio config","openapi":"openapi.json PUT /api/v1/studio/config","description":"Updates the Studio appearance and controls for this API key.","href":"/api-reference/studio/update-the-studio-config"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Note,RequestExample,ResponseExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Note)_missingMdxReference(`Note`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`What you send is merged into the stored configuration for the API key that made\nthe call, so one write can carry a single field or all of them. Send\n`,_jsx(_components.code,{children:`config_version`}),` as the version you last read: the write lands only while that is\nstill the stored version, and the response returns the effective configuration\nwith its new version number. Sending a field as `,_jsx(_components.code,{children:`null`}),` drops your override and\nreturns that control to its default.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Every header control can be turned off, `,_jsx(_components.code,{children:`showClose`}),` included. With nothing\nvisible left in it the header is not drawn at all, and closing the editor\nbecomes the host page’s job. Keep `,_jsx(_components.code,{children:`twoDShowArtwork`}),` or `,_jsx(_components.code,{children:`twoDShowFill`}),` on, so a\nshopper always has a way to finish a design in the photo editor.`]})}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`Node.js`,numberOfLines:`17`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`const`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:` response`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` await`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` fetch`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"https://api.sudomock.com/api/v1/studio/config\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` method: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"PUT\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` headers: {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"x-api-key\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"sm_your_api_key\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"Content-Type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` body: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`JSON`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`stringify`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"config\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"accentColor\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"#FF5733\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"theme\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"dark\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"config_version\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`3`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` }),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`const`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:` data`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` await`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` response.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`json`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`console.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`log`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(data);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`PHP`,numberOfLines:`25`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`25`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`\u003c?`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`php`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`$payload `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#A0A0A0`},children:` \u003c\u003c\u003c`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#A0A0A0`},children:`'`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`JSON`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#A0A0A0`},children:`'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"config\"`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"accentColor\"`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"#FF5733\"`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"theme\"`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"dark\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"config_version\"`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`3`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`}`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`JSON`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`$ch `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` curl_init`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"https://api.sudomock.com/api/v1/studio/config\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`curl_setopt`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`($ch, `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`CURLOPT_CUSTOMREQUEST`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"PUT\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`curl_setopt`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`($ch, `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`CURLOPT_RETURNTRANSFER`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`true`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`curl_setopt`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`($ch, `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`CURLOPT_HTTPHEADER`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"x-api-key: sm_your_api_key\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`]);`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`curl_setopt`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`($ch, `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`CURLOPT_POSTFIELDS`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, $payload);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`$response `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` curl_exec`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`($ch);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`curl_close`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`($ch);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`echo`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` $response;`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`13`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`payload `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'config'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: {`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'accentColor'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'#FF5733'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'theme'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`'dark'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` 'config_version'`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`3`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`response `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` requests.put(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"https://api.sudomock.com/api/v1/studio/config\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFF`},children:` headers`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"x-api-key\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"sm_your_api_key\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFF`},children:` json`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`payload,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`response.raise_for_status()`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`print`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(response.json())`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Ruby`,numberOfLines:`23`,language:`ruby`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`ruby`,children:_jsxs(_components.code,{language:`ruby`,numberOfLines:`23`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`require`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"net/http\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`require`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"uri\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFF`},children:`uri`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:` URI`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"https://api.sudomock.com/api/v1/studio/config\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFF`},children:`request`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` Net`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`::`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`HTTP`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`::`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`Put`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`.`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`new`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(uri)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`request[`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"x-api-key\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`] `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"sm_your_api_key\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`request[`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Content-Type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`] `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"application/json\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`request.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`body`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \u003c\u003c~JSON`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"config\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"accentColor\": \"#FF5733\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"theme\": \"dark\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"config_version\": 3`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`JSON`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#FFF`},children:`response`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` Net`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`::`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`HTTP`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`start`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(uri.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`host`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, uri.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`port`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`use_ssl:`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` true`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`) `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`do`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` |http|`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` http.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`request`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(request)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`end`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`puts`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` response.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`body`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Go`,numberOfLines:`34`,language:`go`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`go`,children:_jsxs(_components.code,{language:`go`,numberOfLines:`34`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`package`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` main`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\t\"`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`bytes`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\t\"`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`fmt`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\t\"`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`io`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\t\"`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`net/http`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`func`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` main`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`() {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\tpayload `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`:=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` []`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`byte`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:\"`{\"})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"config\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"accentColor\": \"#FF5733\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"theme\": \"dark\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"config_version\": 3`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:\"}`\"}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\treq, err `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`:=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` http.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`NewRequest`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"PUT\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"https://api.sudomock.com/api/v1/studio/config\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, bytes.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`NewBuffer`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(payload))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`\tif`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` err `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`!=`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:` nil`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`\t\tpanic`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(err)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\t}`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\treq.Header.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`Set`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"x-api-key\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"sm_your_api_key\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\treq.Header.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`Set`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Content-Type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\tres, err `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`:=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` http.DefaultClient.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`Do`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(req)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`\tif`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` err `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`!=`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:` nil`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`\t\tpanic`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(err)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\t}`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`\tdefer`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` res.Body.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`Close`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\tbody, _ `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`:=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` io.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`ReadAll`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(res.Body)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\tfmt.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`Println`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`string`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(body))`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Java`,numberOfLines:`26`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`26`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` java.net.URI`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` java.net.http.HttpClient`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` java.net.http.HttpRequest`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:` java.net.http.HttpResponse`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:`String`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` payload `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"\"\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"config\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"accentColor\": \"#FF5733\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"theme\": \"dark\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"config_version\": 3`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`}`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"\"\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:`HttpRequest`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` request `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` HttpRequest.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`newBuilder`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`uri`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(URI.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`create`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"https://api.sudomock.com/api/v1/studio/config\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`header`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"x-api-key\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"sm_your_api_key\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`header`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Content-Type\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`PUT`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(HttpRequest.BodyPublishers.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`ofString`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(payload))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`build`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#A0A0A0`},children:`HttpResponse`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`String`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`> response `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` HttpClient.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`newHttpClient`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` .`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`send`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(request, HttpResponse.BodyHandlers.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`ofString`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`());`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`System.out.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`println`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(response.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`body`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`());`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`.NET`,numberOfLines:`21`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`21`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`using`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` System`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`Net`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`Http`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#FFC799`},children:`using`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` System`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`Text`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`var`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` payload`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"\"\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"config\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"accentColor\": \"#FF5733\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"theme\": \"dark\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"config_version\": 3`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`}`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"\"\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`var`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` request`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` new`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` HttpRequestMessage`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(HttpMethod.Put, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"https://api.sudomock.com/api/v1/studio/config\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`request.Headers.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`Add`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"x-api-key\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"sm_your_api_key\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`);`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`request.Content `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`=`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` new`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` StringContent`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(payload, Encoding.UTF8, `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"application/json\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`var`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` client`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` new`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` HttpClient`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`var`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:` response`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:` await`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` client.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`SendAsync`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(request);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`Console.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`WriteLine`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`(`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#A0A0A0`},children:`await`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` response.Content.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`ReadAsStringAsync`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`());`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`10`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#FFC799`},children:`curl`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -X`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` PUT`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"https://api.sudomock.com/api/v1/studio/config\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"x-api-key: sm_your_api_key\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -H`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#A0A0A0`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#99FFE4`},children:` -d`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"config\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"accentColor\": \"#FF5733\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"theme\": \"dark\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` \"config_version\": 3`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:` }'`})}),`\n`]})})})]}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`Response`,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light vesper`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#101010`,color:`#24292e`,\"--shiki-dark\":`#FFF`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFF`},children:`true`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"config\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"accentColor\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"#da7756\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"backgroundColor\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"#f1f5f9\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"borderRadius\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`10`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"headerText\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Customize Your Design\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"primaryColor\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"#0f172a\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"uploadText\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#99FFE4`},children:`\"Drop image or click to upload\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:` \"config_version\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`: `}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#FFC799`},children:`3`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#FFF`},children:`}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"vesper"}},"config":{},"pageMetadata":{"title":"Update the Studio config","sidebarTitle":"Update Studio config","openapi":"openapi.json PUT /api/v1/studio/config","description":"Updates the Studio appearance and controls for this API key.","href":"/api-reference/studio/update-the-studio-config"}}}},"mdxExtracts":{"tableOfContents":[],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Node.js","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"javascript\">\u003ccode language=\"javascript\" numberOfLines=\"17\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">const\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\"> response\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> await\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> fetch\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"https://api.sudomock.com/api/v1/studio/config\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> method: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"PUT\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> headers: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"x-api-key\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"sm_your_api_key\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"Content-Type\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"application/json\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> body: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">JSON\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">stringify\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"config\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"accentColor\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"#FF5733\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"theme\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"dark\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"config_version\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">3\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> }),\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">});\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">const\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\"> data\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> await\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> response.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">json\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">console.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">log\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(data);\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"PHP","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"php\">\u003ccode language=\"php\" numberOfLines=\"25\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">\u0026#x3C;?\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">php\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">$payload \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#A0A0A0\"> \u0026#x3C;\u0026#x3C;\u0026#x3C;\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#A0A0A0\">'\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">JSON\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#A0A0A0\">'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"config\"\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"accentColor\"\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"#FF5733\"\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"theme\"\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"dark\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"config_version\"\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">3\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">JSON\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">$ch \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> curl_init\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"https://api.sudomock.com/api/v1/studio/config\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">curl_setopt\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">($ch, \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">CURLOPT_CUSTOMREQUEST\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"PUT\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">curl_setopt\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">($ch, \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">CURLOPT_RETURNTRANSFER\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">true\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">curl_setopt\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">($ch, \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">CURLOPT_HTTPHEADER\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"x-api-key: sm_your_api_key\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">]);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">curl_setopt\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">($ch, \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">CURLOPT_POSTFIELDS\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, $payload);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">$response \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> curl_exec\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">($ch);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">curl_close\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">($ch);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">echo\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> $response;\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"13\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> requests\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">payload \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'config'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: {\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'accentColor'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'#FF5733'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'theme'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">'dark'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> 'config_version'\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">3\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">response \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> requests.put(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"https://api.sudomock.com/api/v1/studio/config\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#E36209;--shiki-dark:#FFF\"> headers\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">{\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"x-api-key\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"sm_your_api_key\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#E36209;--shiki-dark:#FFF\"> json\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">payload,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">response.raise_for_status()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">print\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(response.json())\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Ruby","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"ruby\">\u003ccode language=\"ruby\" numberOfLines=\"23\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">require\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"net/http\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">require\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"uri\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#E36209;--shiki-dark:#FFF\">uri\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\"> URI\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"https://api.sudomock.com/api/v1/studio/config\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#E36209;--shiki-dark:#FFF\">request\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> Net\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">::\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">HTTP\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">::\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">Put\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">.\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">new\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(uri)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">request[\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"x-api-key\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">] \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"sm_your_api_key\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">request[\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Content-Type\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">] \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"application/json\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">request.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">body\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \u0026#x3C;\u0026#x3C;~JSON\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"config\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"accentColor\": \"#FF5733\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"theme\": \"dark\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"config_version\": 3\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">JSON\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#E36209;--shiki-dark:#FFF\">response\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> Net\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">::\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">HTTP\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">start\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(uri.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">host\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, uri.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">port\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">use_ssl:\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> true\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">) \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">do\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> |http|\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> http.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">request\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(request)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">end\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">puts\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> response.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">body\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Go","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"go\">\u003ccode language=\"go\" numberOfLines=\"34\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">package\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> main\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> (\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\t\"\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">bytes\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\t\"\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">fmt\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\t\"\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">io\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\t\"\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">net/http\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">func\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> main\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">() {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\tpayload \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">:=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> []\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">byte\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">`{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"config\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"accentColor\": \"#FF5733\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"theme\": \"dark\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"config_version\": 3\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">}`\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\treq, err \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">:=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> http.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">NewRequest\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"PUT\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"https://api.sudomock.com/api/v1/studio/config\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, bytes.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">NewBuffer\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(payload))\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">\tif\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> err \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">!=\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\"> nil\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">\t\tpanic\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(err)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\t}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\treq.Header.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">Set\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"x-api-key\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"sm_your_api_key\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\treq.Header.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">Set\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Content-Type\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"application/json\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\tres, err \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">:=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> http.DefaultClient.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">Do\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(req)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">\tif\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> err \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">!=\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\"> nil\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">\t\tpanic\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(err)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\t}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">\tdefer\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> res.Body.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">Close\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\tbody, _ \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">:=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> io.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">ReadAll\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(res.Body)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\tfmt.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">Println\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">string\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(body))\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Java","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"java\">\u003ccode language=\"java\" numberOfLines=\"26\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> java.net.URI\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> java.net.http.HttpClient\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> java.net.http.HttpRequest\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\"> java.net.http.HttpResponse\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\">String\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> payload \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"\"\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"config\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"accentColor\": \"#FF5733\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"theme\": \"dark\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"config_version\": 3\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\"\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\">HttpRequest\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> request \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> HttpRequest.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">newBuilder\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">uri\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(URI.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">create\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"https://api.sudomock.com/api/v1/studio/config\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">))\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">header\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"x-api-key\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"sm_your_api_key\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">header\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Content-Type\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"application/json\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">PUT\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(HttpRequest.BodyPublishers.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">ofString\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(payload))\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">build\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#A0A0A0\">HttpResponse\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">\u0026#x3C;\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">String\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">> response \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> HttpClient.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">newHttpClient\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">()\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> .\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">send\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(request, HttpResponse.BodyHandlers.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">ofString\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">());\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">System.out.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">println\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(response.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">body\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">());\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":".NET","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"csharp\">\u003ccode language=\"csharp\" numberOfLines=\"21\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">using\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> System\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">Net\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">Http\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#FFC799\">using\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> System\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">Text\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">var\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> payload\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"\"\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"config\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"accentColor\": \"#FF5733\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"theme\": \"dark\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"config_version\": 3\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"\"\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">var\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> request\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> new\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> HttpRequestMessage\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(HttpMethod.Put, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"https://api.sudomock.com/api/v1/studio/config\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">request.Headers.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">Add\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"x-api-key\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"sm_your_api_key\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">request.Content \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">=\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> new\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> StringContent\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(payload, Encoding.UTF8, \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"application/json\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">var\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> client\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> new\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> HttpClient\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">();\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">var\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\"> response\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> =\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\"> await\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> client.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">SendAsync\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(request);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">Console.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">WriteLine\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">(\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#A0A0A0\">await\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> response.Content.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">ReadAsStringAsync\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">());\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"10\">\u003cspan class=\"line\">\u003cspan style=\"color:#6F42C1;--shiki-dark:#FFC799\">curl\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> -X\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> PUT\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"https://api.sudomock.com/api/v1/studio/config\"\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> -H\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"x-api-key: sm_your_api_key\"\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> -H\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#A0A0A0\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#99FFE4\"> -d\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"config\": {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"accentColor\": \"#FF5733\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"theme\": \"dark\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> \"config_version\": 3\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\"> }'\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"Response","html":"\u003cpre class=\"shiki shiki-themes github-light vesper\" style=\"background-color:#fff;--shiki-dark-bg:#101010;color:#24292e;--shiki-dark:#FFF\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"success\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFF\">true\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"config\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"accentColor\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"#da7756\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"backgroundColor\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"#f1f5f9\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"borderRadius\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">10\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"headerText\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Customize Your Design\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"primaryColor\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"#0f172a\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"uploadText\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#99FFE4\">\"Drop image or click to upload\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\"> \"config_version\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">: \u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#FFC799\">3\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#FFF\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":["/docs/_mintlify/custom/sudo-mock/dd216b7e4bda7904/playground-key.js"],"openApiReferenceData":{"operation":{"tags":["Studio"],"summary":"Update the Studio config","description":"Updates the Studio appearance and controls for this API key.","operationId":"update_studio_config_api_v1_studio_config_put","requestBody":"2c9aa4d7-d796-4311-a9db-58c77fe6adc8","responses":{"200":"6eecf76d-d5b2-4dfe-ae8e-1f933ce60527"},"security":["c6efea57-d92f-4d12-be96-abc5899e4423"],"x-codeSamples":[{"lang":"Node.js","source":"const response = await fetch(\"https://api.sudomock.com/api/v1/studio/config\", {\n method: \"PUT\",\n headers: {\n \"x-api-key\": \"sm_your_api_key\",\n \"Content-Type\": \"application/json\",\n },\n body: JSON.stringify({\n \"config\": {\n \"accentColor\": \"#FF5733\",\n \"theme\": \"dark\"\n },\n \"config_version\": 3\n }),\n});\n\nconst data = await response.json();\nconsole.log(data);"},{"lang":"PHP","source":"\u003c?php\n\n$payload = \u003c\u003c\u003c'JSON'\n{\n \"config\": {\n \"accentColor\": \"#FF5733\",\n \"theme\": \"dark\"\n },\n \"config_version\": 3\n}\nJSON;\n\n$ch = curl_init(\"https://api.sudomock.com/api/v1/studio/config\");\ncurl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\ncurl_setopt($ch, CURLOPT_HTTPHEADER, [\n \"x-api-key: sm_your_api_key\",\n \"Content-Type: application/json\",\n]);\ncurl_setopt($ch, CURLOPT_POSTFIELDS, $payload);\n\n$response = curl_exec($ch);\ncurl_close($ch);\n\necho $response;"},{"lang":"Python","source":"import requests\n\npayload = {'config': {'accentColor': '#FF5733', 'theme': 'dark'},\n 'config_version': 3}\n\nresponse = requests.put(\n \"https://api.sudomock.com/api/v1/studio/config\",\n headers={\"x-api-key\": \"sm_your_api_key\"},\n json=payload,\n)\n\nresponse.raise_for_status()\nprint(response.json())"},{"lang":"Ruby","source":"require \"net/http\"\nrequire \"uri\"\n\nuri = URI(\"https://api.sudomock.com/api/v1/studio/config\")\nrequest = Net::HTTP::Put.new(uri)\nrequest[\"x-api-key\"] = \"sm_your_api_key\"\nrequest[\"Content-Type\"] = \"application/json\"\n\nrequest.body = \u003c\u003c~JSON\n {\n \"config\": {\n \"accentColor\": \"#FF5733\",\n \"theme\": \"dark\"\n },\n \"config_version\": 3\n }\nJSON\n\nresponse = Net::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|\n http.request(request)\nend\n\nputs response.body"},{"lang":"Go","source":"package main\n\nimport (\n\t\"bytes\"\n\t\"fmt\"\n\t\"io\"\n\t\"net/http\"\n)\n\nfunc main() {\n\tpayload := []byte(`{\n \"config\": {\n \"accentColor\": \"#FF5733\",\n \"theme\": \"dark\"\n },\n \"config_version\": 3\n}`)\n\n\treq, err := http.NewRequest(\"PUT\", \"https://api.sudomock.com/api/v1/studio/config\", bytes.NewBuffer(payload))\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\treq.Header.Set(\"x-api-key\", \"sm_your_api_key\")\n\treq.Header.Set(\"Content-Type\", \"application/json\")\n\n\tres, err := http.DefaultClient.Do(req)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer res.Body.Close()\n\n\tbody, _ := io.ReadAll(res.Body)\n\tfmt.Println(string(body))\n}"},{"lang":"Java","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nString payload = \"\"\"\n{\n \"config\": {\n \"accentColor\": \"#FF5733\",\n \"theme\": \"dark\"\n },\n \"config_version\": 3\n}\n\"\"\";\n\nHttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://api.sudomock.com/api/v1/studio/config\"))\n .header(\"x-api-key\", \"sm_your_api_key\")\n .header(\"Content-Type\", \"application/json\")\n .PUT(HttpRequest.BodyPublishers.ofString(payload))\n .build();\n\nHttpResponse\u003cString> response = HttpClient.newHttpClient()\n .send(request, HttpResponse.BodyHandlers.ofString());\n\nSystem.out.println(response.body());"},{"lang":".NET","source":"using System.Net.Http;\nusing System.Text;\n\nvar payload = \"\"\"\n{\n \"config\": {\n \"accentColor\": \"#FF5733\",\n \"theme\": \"dark\"\n },\n \"config_version\": 3\n}\n\"\"\";\n\nvar request = new HttpRequestMessage(HttpMethod.Put, \"https://api.sudomock.com/api/v1/studio/config\");\nrequest.Headers.Add(\"x-api-key\", \"sm_your_api_key\");\nrequest.Content = new StringContent(payload, Encoding.UTF8, \"application/json\");\n\nvar client = new HttpClient();\nvar response = await client.SendAsync(request);\n\nConsole.WriteLine(await response.Content.ReadAsStringAsync());"},{"lang":"cURL","source":"curl -X PUT \"https://api.sudomock.com/api/v1/studio/config\" \\\n -H \"x-api-key: sm_your_api_key\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"config\": {\n \"accentColor\": \"#FF5733\",\n \"theme\": \"dark\"\n },\n \"config_version\": 3\n }'"}],"method":"put","type":"path","servers":["3160db76-9de4-4f30-a3b7-be1881f83a10"],"path":"/api/v1/studio/config","baseUrlOptions":["https://api.sudomock.com"],"title":"Update the Studio config","codeSamples":[{"lang":"Node.js","source":"const response = await fetch(\"https://api.sudomock.com/api/v1/studio/config\", {\n method: \"PUT\",\n headers: {\n \"x-api-key\": \"sm_your_api_key\",\n \"Content-Type\": \"application/json\",\n },\n body: JSON.stringify({\n \"config\": {\n \"accentColor\": \"#FF5733\",\n \"theme\": \"dark\"\n },\n \"config_version\": 3\n }),\n});\n\nconst data = await response.json();\nconsole.log(data);"},{"lang":"PHP","source":"\u003c?php\n\n$payload = \u003c\u003c\u003c'JSON'\n{\n \"config\": {\n \"accentColor\": \"#FF5733\",\n \"theme\": \"dark\"\n },\n \"config_version\": 3\n}\nJSON;\n\n$ch = curl_init(\"https://api.sudomock.com/api/v1/studio/config\");\ncurl_setopt($ch, CURLOPT_CUSTOMREQUEST, \"PUT\");\ncurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);\ncurl_setopt($ch, CURLOPT_HTTPHEADER, [\n \"x-api-key: sm_your_api_key\",\n \"Content-Type: application/json\",\n]);\ncurl_setopt($ch, CURLOPT_POSTFIELDS, $payload);\n\n$response = curl_exec($ch);\ncurl_close($ch);\n\necho $response;"},{"lang":"Python","source":"import requests\n\npayload = {'config': {'accentColor': '#FF5733', 'theme': 'dark'},\n 'config_version': 3}\n\nresponse = requests.put(\n \"https://api.sudomock.com/api/v1/studio/config\",\n headers={\"x-api-key\": \"sm_your_api_key\"},\n json=payload,\n)\n\nresponse.raise_for_status()\nprint(response.json())"},{"lang":"Ruby","source":"require \"net/http\"\nrequire \"uri\"\n\nuri = URI(\"https://api.sudomock.com/api/v1/studio/config\")\nrequest = Net::HTTP::Put.new(uri)\nrequest[\"x-api-key\"] = \"sm_your_api_key\"\nrequest[\"Content-Type\"] = \"application/json\"\n\nrequest.body = \u003c\u003c~JSON\n {\n \"config\": {\n \"accentColor\": \"#FF5733\",\n \"theme\": \"dark\"\n },\n \"config_version\": 3\n }\nJSON\n\nresponse = Net::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|\n http.request(request)\nend\n\nputs response.body"},{"lang":"Go","source":"package main\n\nimport (\n\t\"bytes\"\n\t\"fmt\"\n\t\"io\"\n\t\"net/http\"\n)\n\nfunc main() {\n\tpayload := []byte(`{\n \"config\": {\n \"accentColor\": \"#FF5733\",\n \"theme\": \"dark\"\n },\n \"config_version\": 3\n}`)\n\n\treq, err := http.NewRequest(\"PUT\", \"https://api.sudomock.com/api/v1/studio/config\", bytes.NewBuffer(payload))\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\treq.Header.Set(\"x-api-key\", \"sm_your_api_key\")\n\treq.Header.Set(\"Content-Type\", \"application/json\")\n\n\tres, err := http.DefaultClient.Do(req)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer res.Body.Close()\n\n\tbody, _ := io.ReadAll(res.Body)\n\tfmt.Println(string(body))\n}"},{"lang":"Java","source":"import java.net.URI;\nimport java.net.http.HttpClient;\nimport java.net.http.HttpRequest;\nimport java.net.http.HttpResponse;\n\nString payload = \"\"\"\n{\n \"config\": {\n \"accentColor\": \"#FF5733\",\n \"theme\": \"dark\"\n },\n \"config_version\": 3\n}\n\"\"\";\n\nHttpRequest request = HttpRequest.newBuilder()\n .uri(URI.create(\"https://api.sudomock.com/api/v1/studio/config\"))\n .header(\"x-api-key\", \"sm_your_api_key\")\n .header(\"Content-Type\", \"application/json\")\n .PUT(HttpRequest.BodyPublishers.ofString(payload))\n .build();\n\nHttpResponse\u003cString> response = HttpClient.newHttpClient()\n .send(request, HttpResponse.BodyHandlers.ofString());\n\nSystem.out.println(response.body());"},{"lang":".NET","source":"using System.Net.Http;\nusing System.Text;\n\nvar payload = \"\"\"\n{\n \"config\": {\n \"accentColor\": \"#FF5733\",\n \"theme\": \"dark\"\n },\n \"config_version\": 3\n}\n\"\"\";\n\nvar request = new HttpRequestMessage(HttpMethod.Put, \"https://api.sudomock.com/api/v1/studio/config\");\nrequest.Headers.Add(\"x-api-key\", \"sm_your_api_key\");\nrequest.Content = new StringContent(payload, Encoding.UTF8, \"application/json\");\n\nvar client = new HttpClient();\nvar response = await client.SendAsync(request);\n\nConsole.WriteLine(await response.Content.ReadAsStringAsync());"},{"lang":"cURL","source":"curl -X PUT \"https://api.sudomock.com/api/v1/studio/config\" \\\n -H \"x-api-key: sm_your_api_key\" \\\n -H \"Content-Type: application/json\" \\\n -d '{\n \"config\": {\n \"accentColor\": \"#FF5733\",\n \"theme\": \"dark\"\n },\n \"config_version\": 3\n }'"}],"requestExampleLanguages":["node","php","python","ruby","go","java","dotnet","bash"],"requiredOnlyExamples":false,"requestExamples":[{"dropdown":false,"language":"javascript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light vesper","style":{"backgroundColor":"#fff","--shiki-dark-bg":"#101010","color":"#24292e","--shiki-dark":"#FFF"},"language":"javascript","children":{"type":"code","key":null,"ref":null,"props":{"language":"javascript","numberOfLines":"17","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFF"},"children":" response"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":" await"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":" fetch"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"("}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"https://api.sudomock.com/api/v1/studio/config\""}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":", {"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" method: "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"PUT\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" headers: {"}}}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"x-api-key\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"sm_your_api_key\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"Content-Type\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"application/json\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" },"}}}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" body: "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFF"},"children":"JSON"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"."}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"stringify"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"({"}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"config\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": {"}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"accentColor\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"#FF5733\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":","}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"theme\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"dark\""}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" },"}}}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"config_version\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":"3"}}]}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" }),"}}}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"});"}}}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFF"},"children":" data"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":" await"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" response."}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"json"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"();"}}]}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"console."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"log"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(data);"}}]}},"\n"]}}}},"filename":"Node.js"},{"dropdown":false,"language":"php","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light vesper","style":{"backgroundColor":"#fff","--shiki-dark-bg":"#101010","color":"#24292e","--shiki-dark":"#FFF"},"language":"php","children":{"type":"code","key":null,"ref":null,"props":{"language":"php","numberOfLines":"25","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"\u003c?"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFF"},"children":"php"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"$payload "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#A0A0A0"},"children":" \u003c\u003c\u003c"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#A0A0A0"},"children":"'"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"JSON"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#A0A0A0"},"children":"'"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"{"}}}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" \"config\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":": {"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" \"accentColor\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"#FF5733\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" \"theme\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"dark\""}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" },"}}}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" \"config_version\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":"3"}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"}"}}}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"JSON"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":";"}}]}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"$ch "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" curl_init"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"("}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"https://api.sudomock.com/api/v1/studio/config\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":");"}}]}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":"curl_setopt"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"($ch, "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFF"},"children":"CURLOPT_CUSTOMREQUEST"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":", "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"PUT\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":");"}}]}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":"curl_setopt"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"($ch, "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFF"},"children":"CURLOPT_RETURNTRANSFER"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":", "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFF"},"children":"true"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":");"}}]}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":"curl_setopt"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"($ch, "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFF"},"children":"CURLOPT_HTTPHEADER"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":", ["}}]}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"x-api-key: sm_your_api_key\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":","}}]}},"\n",{"type":"span","key":"34","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"Content-Type: application/json\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":","}}]}},"\n",{"type":"span","key":"36","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"]);"}}}},"\n",{"type":"span","key":"38","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":"curl_setopt"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"($ch, "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFF"},"children":"CURLOPT_POSTFIELDS"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":", $payload);"}}]}},"\n",{"type":"span","key":"40","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"42","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"$response "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" curl_exec"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"($ch);"}}]}},"\n",{"type":"span","key":"44","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":"curl_close"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"($ch);"}}]}},"\n",{"type":"span","key":"46","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"48","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":"echo"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" $response;"}}]}},"\n"]}}}},"filename":"PHP"},{"dropdown":false,"language":"python","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light vesper","style":{"backgroundColor":"#fff","--shiki-dark-bg":"#101010","color":"#24292e","--shiki-dark":"#FFF"},"language":"python","children":{"type":"code","key":null,"ref":null,"props":{"language":"python","numberOfLines":"13","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" requests"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"payload "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" {"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"'config'"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": {"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"'accentColor'"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": "}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"'#FF5733'"}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":", "}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"'theme'"}},{"type":"span","key":"10","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": "}},{"type":"span","key":"11","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"'dark'"}},{"type":"span","key":"12","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"},"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" 'config_version'"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":"3"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"}"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"response "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" requests.put("}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"https://api.sudomock.com/api/v1/studio/config\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":","}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#E36209","--shiki-dark":"#FFF"},"children":" headers"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"{"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"x-api-key\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": "}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"sm_your_api_key\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"},"}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#E36209","--shiki-dark":"#FFF"},"children":" json"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"payload,"}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":")"}}}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"response.raise_for_status()"}}}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":"print"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(response.json())"}}]}},"\n"]}}}},"filename":"Python"},{"dropdown":false,"language":"ruby","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light vesper","style":{"backgroundColor":"#fff","--shiki-dark-bg":"#101010","color":"#24292e","--shiki-dark":"#FFF"},"language":"ruby","children":{"type":"code","key":null,"ref":null,"props":{"language":"ruby","numberOfLines":"23","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#FFC799"},"children":"require"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"net/http\""}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#FFC799"},"children":"require"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"uri\""}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#E36209","--shiki-dark":"#FFF"},"children":"uri"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":" ="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFF"},"children":" URI"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"("}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"https://api.sudomock.com/api/v1/studio/config\""}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":")"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#E36209","--shiki-dark":"#FFF"},"children":"request"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":" ="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" Net"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"::"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":"HTTP"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"::"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":"Put"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"."}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#FFC799"},"children":"new"}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(uri)"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"request["}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"x-api-key\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"] "}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"="}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"sm_your_api_key\""}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"request["}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"Content-Type\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"] "}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"="}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"application/json\""}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"request."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"body"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \u003c\u003c~JSON"}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" {"}}}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"config\": {"}}}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"accentColor\": \"#FF5733\","}}}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"theme\": \"dark\""}}}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" },"}}}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"config_version\": 3"}}}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" }"}}}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"JSON"}}}},"\n",{"type":"span","key":"34","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"36","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#E36209","--shiki-dark":"#FFF"},"children":"response"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":" ="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" Net"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"::"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":"HTTP"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"."}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"start"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(uri."}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"host"}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":", uri."}},{"type":"span","key":"10","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"port"}},{"type":"span","key":"11","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":", "}},{"type":"span","key":"12","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFF"},"children":"use_ssl:"}},{"type":"span","key":"13","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" true"}},{"type":"span","key":"14","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":") "}},{"type":"span","key":"15","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"do"}},{"type":"span","key":"16","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" |http|"}}]}},"\n",{"type":"span","key":"38","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" http."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"request"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(request)"}}]}},"\n",{"type":"span","key":"40","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"end"}}}},"\n",{"type":"span","key":"42","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"44","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":"puts"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" response."}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"body"}}]}},"\n"]}}}},"filename":"Ruby"},{"dropdown":false,"language":"go","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light vesper","style":{"backgroundColor":"#fff","--shiki-dark-bg":"#101010","color":"#24292e","--shiki-dark":"#FFF"},"language":"go","children":{"type":"code","key":null,"ref":null,"props":{"language":"go","numberOfLines":"34","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"package"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":" main"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" ("}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\t\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"bytes"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\""}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\t\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"fmt"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\""}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\t\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"io"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\""}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\t\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"net/http"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\""}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":")"}}}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"func"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":" main"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"() {"}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"\tpayload "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":":="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" []"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"byte"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"("}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"`{"}}]}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"config\": {"}}}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"accentColor\": \"#FF5733\","}}}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"theme\": \"dark\""}}}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" },"}}}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"config_version\": 3"}}}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"}`"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":")"}}]}},"\n",{"type":"span","key":"34","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"36","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"\treq, err "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":":="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" http."}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"NewRequest"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"("}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"PUT\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":", "}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"https://api.sudomock.com/api/v1/studio/config\""}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":", bytes."}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"NewBuffer"}},{"type":"span","key":"10","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(payload))"}}]}},"\n",{"type":"span","key":"38","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"\tif"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" err "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"!="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFF"},"children":" nil"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" {"}}]}},"\n",{"type":"span","key":"40","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"\t\tpanic"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(err)"}}]}},"\n",{"type":"span","key":"42","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"\t}"}}}},"\n",{"type":"span","key":"44","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"\treq.Header."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"Set"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"("}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"x-api-key\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":", "}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"sm_your_api_key\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":")"}}]}},"\n",{"type":"span","key":"46","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"\treq.Header."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"Set"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"("}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"Content-Type\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":", "}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"application/json\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":")"}}]}},"\n",{"type":"span","key":"48","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"50","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"\tres, err "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":":="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" http.DefaultClient."}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"Do"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(req)"}}]}},"\n",{"type":"span","key":"52","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"\tif"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" err "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"!="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFF"},"children":" nil"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" {"}}]}},"\n",{"type":"span","key":"54","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"\t\tpanic"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(err)"}}]}},"\n",{"type":"span","key":"56","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"\t}"}}}},"\n",{"type":"span","key":"58","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"\tdefer"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" res.Body."}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"Close"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"()"}}]}},"\n",{"type":"span","key":"60","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"62","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"\tbody, _ "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":":="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" io."}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"ReadAll"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(res.Body)"}}]}},"\n",{"type":"span","key":"64","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"\tfmt."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"Println"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"("}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"string"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(body))"}}]}},"\n",{"type":"span","key":"66","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"}"}}}},"\n"]}}}},"filename":"Go"},{"dropdown":false,"language":"java","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light vesper","style":{"backgroundColor":"#fff","--shiki-dark-bg":"#101010","color":"#24292e","--shiki-dark":"#FFF"},"language":"java","children":{"type":"code","key":null,"ref":null,"props":{"language":"java","numberOfLines":"26","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#FFC799"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#A0A0A0"},"children":" java.net.URI"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":";"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#FFC799"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#A0A0A0"},"children":" java.net.http.HttpClient"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":";"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#FFC799"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#A0A0A0"},"children":" java.net.http.HttpRequest"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":";"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#FFC799"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#A0A0A0"},"children":" java.net.http.HttpResponse"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":";"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#A0A0A0"},"children":"String"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" payload "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"\"\""}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"{"}}}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"config\": {"}}}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"accentColor\": \"#FF5733\","}}}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"theme\": \"dark\""}}}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" },"}}}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"config_version\": 3"}}}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"}"}}}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"\"\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":";"}}]}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#A0A0A0"},"children":"HttpRequest"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" request "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" HttpRequest."}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"newBuilder"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"()"}}]}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" ."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"uri"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(URI."}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"create"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"("}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"https://api.sudomock.com/api/v1/studio/config\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"))"}}]}},"\n",{"type":"span","key":"34","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" ."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"header"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"("}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"x-api-key\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":", "}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"sm_your_api_key\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":")"}}]}},"\n",{"type":"span","key":"36","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" ."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"header"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"("}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"Content-Type\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":", "}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"application/json\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":")"}}]}},"\n",{"type":"span","key":"38","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" ."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"PUT"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(HttpRequest.BodyPublishers."}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"ofString"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(payload))"}}]}},"\n",{"type":"span","key":"40","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" ."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"build"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"();"}}]}},"\n",{"type":"span","key":"42","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"44","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#A0A0A0"},"children":"HttpResponse"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"\u003c"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"String"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"> response "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"="}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" HttpClient."}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"newHttpClient"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"()"}}]}},"\n",{"type":"span","key":"46","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" ."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"send"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(request, HttpResponse.BodyHandlers."}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"ofString"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"());"}}]}},"\n",{"type":"span","key":"48","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"50","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"System.out."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"println"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(response."}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"body"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"());"}}]}},"\n"]}}}},"filename":"Java"},{"dropdown":false,"language":"csharp","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light vesper","style":{"backgroundColor":"#fff","--shiki-dark-bg":"#101010","color":"#24292e","--shiki-dark":"#FFF"},"language":"csharp","children":{"type":"code","key":null,"ref":null,"props":{"language":"csharp","numberOfLines":"21","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#FFC799"},"children":"using"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":" System"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"."}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"Net"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"."}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"Http"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":";"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#FFC799"},"children":"using"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":" System"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"."}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"Text"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":";"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"var"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":" payload"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"\"\""}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"{"}}}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"config\": {"}}}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"accentColor\": \"#FF5733\","}}}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"theme\": \"dark\""}}}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" },"}}}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"config_version\": 3"}}}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"}"}}}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"\"\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":";"}}]}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"var"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":" request"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":" new"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":" HttpRequestMessage"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(HttpMethod.Put, "}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"https://api.sudomock.com/api/v1/studio/config\""}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":");"}}]}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"request.Headers."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"Add"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"("}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"x-api-key\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":", "}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"sm_your_api_key\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":");"}}]}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"request.Content "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":" new"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":" StringContent"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(payload, Encoding.UTF8, "}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"application/json\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":");"}}]}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"34","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"var"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":" client"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":" new"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":" HttpClient"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"();"}}]}},"\n",{"type":"span","key":"36","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"var"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":" response"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":" await"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" client."}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"SendAsync"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"(request);"}}]}},"\n",{"type":"span","key":"38","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"40","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"Console."}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"WriteLine"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"("}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#A0A0A0"},"children":"await"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" response.Content."}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"ReadAsStringAsync"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"());"}}]}},"\n"]}}}},"filename":".NET"},{"dropdown":false,"language":"shellscript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light vesper","style":{"backgroundColor":"#fff","--shiki-dark-bg":"#101010","color":"#24292e","--shiki-dark":"#FFF"},"language":"shellscript","children":{"type":"code","key":null,"ref":null,"props":{"language":"shellscript","numberOfLines":"10","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#FFC799"},"children":"curl"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#99FFE4"},"children":" -X"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" PUT"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"https://api.sudomock.com/api/v1/studio/config\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#A0A0A0"},"children":" \\"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#99FFE4"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"x-api-key: sm_your_api_key\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#A0A0A0"},"children":" \\"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#99FFE4"},"children":" -H"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"Content-Type: application/json\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#A0A0A0"},"children":" \\"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#99FFE4"},"children":" -d"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" '{"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"config\": {"}}}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"accentColor\": \"#FF5733\","}}}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"theme\": \"dark\""}}}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" },"}}}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" \"config_version\": 3"}}}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":" }'"}}}},"\n"]}}}},"filename":"cURL"}],"requestExampleType":"mdx","responseExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light vesper","style":{"backgroundColor":"#fff","--shiki-dark-bg":"#101010","color":"#24292e","--shiki-dark":"#FFF"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"12","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" \"success\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFF"},"children":"true"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" \"config\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": {"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" \"accentColor\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"#da7756\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" \"backgroundColor\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"#f1f5f9\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" \"borderRadius\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":"10"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" \"headerText\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"Customize Your Design\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":","}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" \"primaryColor\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"#0f172a\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":","}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" \"uploadText\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#99FFE4"},"children":"\"Drop image or click to upload\""}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":" },"}}}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":" \"config_version\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#FFC799"},"children":"3"}}]}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#FFF"},"children":"}"}}}},"\n"]}}}},"filename":"Response"}],"responseExampleType":"mdx","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.config.accentColor.oneOf.0":"#FF5733","body.config.theme.oneOf.0":"dark","body.config_version.oneOf.0":3}]},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"config":{"properties":{"primaryColor":{"oneOf":[{"type":"string","description":"Primary color of the editor interface.","default":"#0f172a","pattern":"^#[0-9A-Fa-f]{6}$","uniqueKey":"config.primaryColor.oneOf.0","typeLabel":"string"},{"type":"null","description":"Primary color of the editor interface.","default":"#0f172a","uniqueKey":"config.primaryColor.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.primaryColor","typeLabel":"string | null"},"accentColor":{"oneOf":[{"type":"string","description":"Accent color for highlights and active states in the editor.","default":"#da7756","pattern":"^#[0-9A-Fa-f]{6}$","uniqueKey":"config.accentColor.oneOf.0","typeLabel":"string"},{"type":"null","description":"Accent color for highlights and active states in the editor.","default":"#da7756","uniqueKey":"config.accentColor.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.accentColor","typeLabel":"string | null"},"backgroundColor":{"oneOf":[{"type":"string","description":"Background color of the editor.","default":"#f1f5f9","pattern":"^#[0-9A-Fa-f]{6}$","uniqueKey":"config.backgroundColor.oneOf.0","typeLabel":"string"},{"type":"null","description":"Background color of the editor.","default":"#f1f5f9","uniqueKey":"config.backgroundColor.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.backgroundColor","typeLabel":"string | null"},"panelBackground":{"oneOf":[{"type":"string","description":"Background color of the editor panels.","default":"#ffffff","pattern":"^#[0-9A-Fa-f]{6}$","uniqueKey":"config.panelBackground.oneOf.0","typeLabel":"string"},{"type":"null","description":"Background color of the editor panels.","default":"#ffffff","uniqueKey":"config.panelBackground.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.panelBackground","typeLabel":"string | null"},"textColor":{"oneOf":[{"type":"string","description":"Color of the text in the editor.","default":"#0f172a","pattern":"^#[0-9A-Fa-f]{6}$","uniqueKey":"config.textColor.oneOf.0","typeLabel":"string"},{"type":"null","description":"Color of the text in the editor.","default":"#0f172a","uniqueKey":"config.textColor.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.textColor","typeLabel":"string | null"},"borderColor":{"oneOf":[{"type":"string","description":"Color of the borders and dividers in the editor.","default":"#e2e8f0","pattern":"^#[0-9A-Fa-f]{6}$","uniqueKey":"config.borderColor.oneOf.0","typeLabel":"string"},{"type":"null","description":"Color of the borders and dividers in the editor.","default":"#e2e8f0","uniqueKey":"config.borderColor.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.borderColor","typeLabel":"string | null"},"successColor":{"oneOf":[{"type":"string","description":"Color the editor uses to confirm a completed action.","default":"#16a34a","pattern":"^#[0-9A-Fa-f]{6}$","uniqueKey":"config.successColor.oneOf.0","typeLabel":"string"},{"type":"null","description":"Color the editor uses to confirm a completed action.","default":"#16a34a","uniqueKey":"config.successColor.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.successColor","typeLabel":"string | null"},"borderRadius":{"oneOf":[{"type":"integer","description":"Corner radius of the editor controls, in pixels.","default":10,"maximum":20,"minimum":0,"uniqueKey":"config.borderRadius.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Corner radius of the editor controls, in pixels.","default":10,"uniqueKey":"config.borderRadius.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.borderRadius","typeLabel":"integer | null"},"logoUrl":{"oneOf":[{"type":"string","description":"HTTPS address of the logo shown in the editor header.","maxLength":2048,"example":"https://your-store.example.com/assets/logo.png","uniqueKey":"config.logoUrl.oneOf.0","typeLabel":"string"},{"type":"null","description":"HTTPS address of the logo shown in the editor header.","example":"https://your-store.example.com/assets/logo.png","uniqueKey":"config.logoUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.logoUrl","typeLabel":"string | null"},"fontFamily":{"oneOf":[{"type":"string","description":"Font family the editor uses for its own text.","maxLength":64,"minLength":1,"pattern":"^[A-Za-z0-9][A-Za-z0-9 ,._-]*$","example":"Inter, sans-serif","uniqueKey":"config.fontFamily.oneOf.0","typeLabel":"string"},{"type":"null","description":"Font family the editor uses for its own text.","example":"Inter, sans-serif","uniqueKey":"config.fontFamily.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.fontFamily","typeLabel":"string | null"},"headerText":{"oneOf":[{"type":"string","description":"Title shown in the editor header.","default":"Customize Your Design","maxLength":96,"uniqueKey":"config.headerText.oneOf.0","typeLabel":"string"},{"type":"null","description":"Title shown in the editor header.","default":"Customize Your Design","uniqueKey":"config.headerText.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.headerText","typeLabel":"string | null"},"uploadText":{"oneOf":[{"type":"string","description":"Prompt shown in the editor upload area.","default":"Drop image or click to upload","maxLength":96,"minLength":1,"uniqueKey":"config.uploadText.oneOf.0","typeLabel":"string"},{"type":"null","description":"Prompt shown in the editor upload area.","default":"Drop image or click to upload","uniqueKey":"config.uploadText.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.uploadText","typeLabel":"string | null"},"secondaryActionLabel":{"oneOf":[{"type":"string","description":"Label on the editor secondary action button.","default":"Render Preview","maxLength":96,"minLength":1,"uniqueKey":"config.secondaryActionLabel.oneOf.0","typeLabel":"string"},{"type":"null","description":"Label on the editor secondary action button.","default":"Render Preview","uniqueKey":"config.secondaryActionLabel.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.secondaryActionLabel","typeLabel":"string | null"},"loadingText":{"oneOf":[{"type":"string","description":"Text shown while the primary action is running.","default":"Adding...","maxLength":96,"minLength":1,"uniqueKey":"config.loadingText.oneOf.0","typeLabel":"string"},{"type":"null","description":"Text shown while the primary action is running.","default":"Adding...","uniqueKey":"config.loadingText.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.loadingText","typeLabel":"string | null"},"successText":{"oneOf":[{"type":"string","description":"Text shown once the primary action succeeds.","default":"Added!","maxLength":96,"minLength":1,"uniqueKey":"config.successText.oneOf.0","typeLabel":"string"},{"type":"null","description":"Text shown once the primary action succeeds.","default":"Added!","uniqueKey":"config.successText.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.successText","typeLabel":"string | null"},"psdPrimaryActionLabel":{"oneOf":[{"type":"string","description":"Label on the primary action button in the PSD editor.","default":"Add to Cart","maxLength":96,"minLength":1,"uniqueKey":"config.psdPrimaryActionLabel.oneOf.0","typeLabel":"string"},{"type":"null","description":"Label on the primary action button in the PSD editor.","default":"Add to Cart","uniqueKey":"config.psdPrimaryActionLabel.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.psdPrimaryActionLabel","typeLabel":"string | null"},"twoDSetupPrimaryActionLabel":{"oneOf":[{"type":"string","description":"Label on the primary action button in a photo mockup setup session.","default":"Save Mockup","maxLength":96,"minLength":1,"uniqueKey":"config.twoDSetupPrimaryActionLabel.oneOf.0","typeLabel":"string"},{"type":"null","description":"Label on the primary action button in a photo mockup setup session.","default":"Save Mockup","uniqueKey":"config.twoDSetupPrimaryActionLabel.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.twoDSetupPrimaryActionLabel","typeLabel":"string | null"},"twoDCustomizePrimaryActionLabel":{"oneOf":[{"type":"string","description":"Label on the primary action button in a photo mockup customize session.","default":"Add to Cart","maxLength":96,"minLength":1,"uniqueKey":"config.twoDCustomizePrimaryActionLabel.oneOf.0","typeLabel":"string"},{"type":"null","description":"Label on the primary action button in a photo mockup customize session.","default":"Add to Cart","uniqueKey":"config.twoDCustomizePrimaryActionLabel.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.twoDCustomizePrimaryActionLabel","typeLabel":"string | null"},"psdShowAdjustments":{"oneOf":[{"type":"boolean","description":"Shows or hides the image adjustment controls in the PSD editor.","default":true,"uniqueKey":"config.psdShowAdjustments.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the image adjustment controls in the PSD editor.","default":true,"uniqueKey":"config.psdShowAdjustments.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.psdShowAdjustments","typeLabel":"boolean | null"},"psdShowColorOverlay":{"oneOf":[{"type":"boolean","description":"Shows or hides the color overlay control in the PSD editor.","default":true,"uniqueKey":"config.psdShowColorOverlay.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the color overlay control in the PSD editor.","default":true,"uniqueKey":"config.psdShowColorOverlay.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.psdShowColorOverlay","typeLabel":"boolean | null"},"psdShowTextLayers":{"oneOf":[{"type":"boolean","description":"Shows or hides the text layer controls in the PSD editor.","default":true,"uniqueKey":"config.psdShowTextLayers.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the text layer controls in the PSD editor.","default":true,"uniqueKey":"config.psdShowTextLayers.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.psdShowTextLayers","typeLabel":"boolean | null"},"psdShowFitMode":{"oneOf":[{"type":"boolean","description":"Shows or hides the fit mode control in the PSD editor.","default":true,"uniqueKey":"config.psdShowFitMode.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the fit mode control in the PSD editor.","default":true,"uniqueKey":"config.psdShowFitMode.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.psdShowFitMode","typeLabel":"boolean | null"},"psdShowPosition":{"oneOf":[{"type":"boolean","description":"Shows or hides the position controls in the PSD editor.","default":true,"uniqueKey":"config.psdShowPosition.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the position controls in the PSD editor.","default":true,"uniqueKey":"config.psdShowPosition.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.psdShowPosition","typeLabel":"boolean | null"},"psdShowSize":{"oneOf":[{"type":"boolean","description":"Shows or hides the size controls in the PSD editor.","default":true,"uniqueKey":"config.psdShowSize.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the size controls in the PSD editor.","default":true,"uniqueKey":"config.psdShowSize.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.psdShowSize","typeLabel":"boolean | null"},"psdShowRotation":{"oneOf":[{"type":"boolean","description":"Shows or hides the rotation control in the PSD editor.","default":true,"uniqueKey":"config.psdShowRotation.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the rotation control in the PSD editor.","default":true,"uniqueKey":"config.psdShowRotation.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.psdShowRotation","typeLabel":"boolean | null"},"psdShowFlip":{"oneOf":[{"type":"boolean","description":"Shows or hides the flip controls in the PSD editor.","default":true,"uniqueKey":"config.psdShowFlip.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the flip controls in the PSD editor.","default":true,"uniqueKey":"config.psdShowFlip.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.psdShowFlip","typeLabel":"boolean | null"},"psdShowExportOptions":{"oneOf":[{"type":"boolean","description":"Shows or hides the export options in the PSD editor.","default":true,"uniqueKey":"config.psdShowExportOptions.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the export options in the PSD editor.","default":true,"uniqueKey":"config.psdShowExportOptions.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.psdShowExportOptions","typeLabel":"boolean | null"},"psdShowZoomControls":{"oneOf":[{"type":"boolean","description":"Shows or hides the zoom controls in the PSD editor.","default":true,"uniqueKey":"config.psdShowZoomControls.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the zoom controls in the PSD editor.","default":true,"uniqueKey":"config.psdShowZoomControls.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.psdShowZoomControls","typeLabel":"boolean | null"},"psdShowUndoRedo":{"oneOf":[{"type":"boolean","description":"Shows or hides the undo and redo controls in the PSD editor.","default":true,"uniqueKey":"config.psdShowUndoRedo.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the undo and redo controls in the PSD editor.","default":true,"uniqueKey":"config.psdShowUndoRedo.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.psdShowUndoRedo","typeLabel":"boolean | null"},"psdAutoRender":{"oneOf":[{"type":"boolean","description":"Renders a new preview after each change in the PSD editor.","default":true,"uniqueKey":"config.psdAutoRender.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Renders a new preview after each change in the PSD editor.","default":true,"uniqueKey":"config.psdAutoRender.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.psdAutoRender","typeLabel":"boolean | null"},"psdAutoRenderDelay":{"oneOf":[{"type":"integer","description":"Milliseconds the PSD editor waits after a change before it renders.","default":800,"maximum":3000,"minimum":300,"uniqueKey":"config.psdAutoRenderDelay.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Milliseconds the PSD editor waits after a change before it renders.","default":800,"uniqueKey":"config.psdAutoRenderDelay.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.psdAutoRenderDelay","typeLabel":"integer | null"},"autoDesignCallback":{"oneOf":[{"type":"boolean","description":"Reports design changes to your page while the shopper edits.","default":false,"uniqueKey":"config.autoDesignCallback.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Reports design changes to your page while the shopper edits.","default":false,"uniqueKey":"config.autoDesignCallback.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.autoDesignCallback","typeLabel":"boolean | null"},"psdLayout":{"oneOf":[{"type":"string","description":"Layout of the PSD editor, full or compact.","default":"full","enum":["full","compact"],"uniqueKey":"config.psdLayout.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Layout of the PSD editor, full or compact.","default":"full","uniqueKey":"config.psdLayout.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.psdLayout","typeLabel":"enum\u003cstring> | null"},"twoDShowArtwork":{"oneOf":[{"type":"boolean","description":"Shows or hides the artwork upload control in the photo mockup editor.","default":true,"uniqueKey":"config.twoDShowArtwork.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the artwork upload control in the photo mockup editor.","default":true,"uniqueKey":"config.twoDShowArtwork.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.twoDShowArtwork","typeLabel":"boolean | null"},"twoDShowFill":{"oneOf":[{"type":"boolean","description":"Shows or hides the fill color control in the photo mockup editor.","default":true,"uniqueKey":"config.twoDShowFill.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the fill color control in the photo mockup editor.","default":true,"uniqueKey":"config.twoDShowFill.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.twoDShowFill","typeLabel":"boolean | null"},"twoDShowBlend":{"oneOf":[{"type":"boolean","description":"Shows or hides the blend mode control in the photo mockup editor.","default":true,"uniqueKey":"config.twoDShowBlend.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the blend mode control in the photo mockup editor.","default":true,"uniqueKey":"config.twoDShowBlend.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.twoDShowBlend","typeLabel":"boolean | null"},"twoDShowOpacity":{"oneOf":[{"type":"boolean","description":"Shows or hides the opacity control in the photo mockup editor.","default":true,"uniqueKey":"config.twoDShowOpacity.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the opacity control in the photo mockup editor.","default":true,"uniqueKey":"config.twoDShowOpacity.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.twoDShowOpacity","typeLabel":"boolean | null"},"twoDShowTransform":{"oneOf":[{"type":"boolean","description":"Shows or hides the transform controls in the photo mockup editor.","default":true,"uniqueKey":"config.twoDShowTransform.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the transform controls in the photo mockup editor.","default":true,"uniqueKey":"config.twoDShowTransform.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.twoDShowTransform","typeLabel":"boolean | null"},"twoDShowZoom":{"oneOf":[{"type":"boolean","description":"Shows or hides the zoom controls in the photo mockup editor.","default":true,"uniqueKey":"config.twoDShowZoom.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the zoom controls in the photo mockup editor.","default":true,"uniqueKey":"config.twoDShowZoom.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.twoDShowZoom","typeLabel":"boolean | null"},"twoDShowExport":{"oneOf":[{"type":"boolean","description":"Shows or hides the export options in the photo mockup editor.","default":true,"uniqueKey":"config.twoDShowExport.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the export options in the photo mockup editor.","default":true,"uniqueKey":"config.twoDShowExport.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.twoDShowExport","typeLabel":"boolean | null"},"twoDShowBackgroundRemoval":{"oneOf":[{"type":"boolean","description":"Shows or hides the background removal control in the photo mockup editor.","default":true,"uniqueKey":"config.twoDShowBackgroundRemoval.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the background removal control in the photo mockup editor.","default":true,"uniqueKey":"config.twoDShowBackgroundRemoval.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.twoDShowBackgroundRemoval","typeLabel":"boolean | null"},"colorPalette":{"oneOf":[{"type":"array","items":{"properties":{"hex":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$","description":"Color value as a #rrggbb hex string.","examples":["#1a1a1a"],"isRequired":true,"uniqueKey":"config.colorPalette.oneOf.0.items.[INDEX].hex","typeLabel":"string"},"label":{"oneOf":[{"type":"string","description":"Your own name for this color.","maxLength":32,"example":"Black Heather","uniqueKey":"config.colorPalette.oneOf.0.items.[INDEX].label.oneOf.0","typeLabel":"string"},{"type":"null","description":"Your own name for this color.","example":"Black Heather","uniqueKey":"config.colorPalette.oneOf.0.items.[INDEX].label.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.colorPalette.oneOf.0.items.[INDEX].label","typeLabel":"string | null"}},"additionalProperties":false,"type":"object","required":["hex"],"title":"PaletteColour","description":"One colour the editor offers, with your name for it.","uniqueKey":"config.colorPalette.oneOf.0.items.[INDEX]","typeLabel":"PaletteColour · object"},"description":"Named colors the product comes in, and the only ones the editor offers.","maxItems":96,"minItems":1,"example":[{"hex":"#1a1a1a","label":"Black"},{"hex":"#f5f5f5","label":"Natural"}],"uniqueKey":"config.colorPalette.oneOf.0","typeLabel":"PaletteColour · object[]"},{"type":"null","description":"Named colors the product comes in, and the only ones the editor offers.","example":[{"hex":"#1a1a1a","label":"Black"},{"hex":"#f5f5f5","label":"Natural"}],"uniqueKey":"config.colorPalette.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.colorPalette","typeLabel":"PaletteColour · object[] | null"},"showClose":{"oneOf":[{"type":"boolean","description":"Shows or hides the close button in the editor header.","default":true,"uniqueKey":"config.showClose.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the close button in the editor header.","default":true,"uniqueKey":"config.showClose.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.showClose","typeLabel":"boolean | null"},"showSeamCheck":{"oneOf":[{"type":"boolean","description":"Shows or hides the seam check of a repeating pattern tile in the editor.","default":true,"uniqueKey":"config.showSeamCheck.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the seam check of a repeating pattern tile in the editor.","default":true,"uniqueKey":"config.showSeamCheck.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.showSeamCheck","typeLabel":"boolean | null"},"showSeamFix":{"oneOf":[{"type":"boolean","description":"Shows or hides the offer to fix a seam in a repeating pattern tile. Applies only while showSeamCheck is on.","default":true,"uniqueKey":"config.showSeamFix.oneOf.0","typeLabel":"boolean"},{"type":"null","description":"Shows or hides the offer to fix a seam in a repeating pattern tile. Applies only while showSeamCheck is on.","default":true,"uniqueKey":"config.showSeamFix.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.showSeamFix","typeLabel":"boolean | null"},"theme":{"oneOf":[{"type":"string","description":"Theme the editor opens in, light or dark.","default":"light","enum":["light","dark"],"uniqueKey":"config.theme.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Theme the editor opens in, light or dark.","default":"light","uniqueKey":"config.theme.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.theme","typeLabel":"enum\u003cstring> | null"},"locale":{"oneOf":[{"type":"string","description":"Language the editor panel is shown in.","default":"en","enum":["en","tr"],"uniqueKey":"config.locale.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"Language the editor panel is shown in.","default":"en","uniqueKey":"config.locale.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.locale","typeLabel":"enum\u003cstring> | null"},"maxFileSize":{"oneOf":[{"type":"integer","description":"Largest upload the editor accepts, in megabytes.","default":15,"maximum":50,"minimum":1,"uniqueKey":"config.maxFileSize.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Largest upload the editor accepts, in megabytes.","default":15,"uniqueKey":"config.maxFileSize.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.maxFileSize","typeLabel":"integer | null"}},"additionalProperties":false,"type":"object","title":"StudioConfigPatch","description":"Configuration values to merge into the stored configuration.","isRequired":true,"uniqueKey":"config","typeLabel":"StudioConfigPatch · object"},"config_version":{"oneOf":[{"type":"integer","description":"Version you last read, which must still be the stored one.","minimum":0,"example":3,"uniqueKey":"config_version.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Version you last read, which must still be the stored one.","example":3,"uniqueKey":"config_version.oneOf.1","typeLabel":"null"}],"uniqueKey":"config_version","typeLabel":"integer | null"}},"additionalProperties":false,"type":"object","required":["config"],"title":"UpdateStudioConfigRequest","example":{"config":{"accentColor":"#FF5733","theme":"dark"},"config_version":3},"uniqueKey":"","typeLabel":"UpdateStudioConfigRequest · object"},"examples":{"Example":{"title":"Example","value":{"config":{"accentColor":"#FF5733","theme":"dark"},"config_version":3}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"6eecf76d-d5b2-4dfe-ae8e-1f933ce60527":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"success":{"type":"boolean","description":"True when the configuration was returned.","default":true,"uniqueKey":"success","typeLabel":"boolean"},"config":{"additionalProperties":true,"type":"object","description":"The effective Studio configuration for this API key.","default":{},"examples":[{"accentColor":"#da7756","backgroundColor":"#f1f5f9","borderRadius":10,"headerText":"Customize Your Design","primaryColor":"#0f172a","uploadText":"Drop image or click to upload"}],"uniqueKey":"config","typeLabel":"object"},"config_version":{"type":"integer","description":"Version of the stored configuration, which rises with every update.","default":0,"examples":[3],"uniqueKey":"config_version","typeLabel":"integer"}},"type":"object","title":"StudioConfigResponse","uniqueKey":"","typeLabel":"StudioConfigResponse · object"},"examples":{"Example":{"title":"Example","value":{"success":true,"config":{"accentColor":"#da7756","backgroundColor":"#f1f5f9","borderRadius":10,"headerText":"Customize Your Design","primaryColor":"#0f172a","uploadText":"Drop image or click to upload"},"config_version":3}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c6efea57-d92f-4d12-be96-abc5899e4423":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key with sm_ prefix. Get your key at https://sudomock.com/dashboard/api-keys","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"3160db76-9de4-4f30-a3b7-be1881f83a10":{"url":"https://api.sudomock.com","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key with sm_ prefix. Get your key at https://sudomock.com/dashboard/api-keys","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"API key with sm_ prefix. Get your key at https://sudomock.com/dashboard/api-keys","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"sudo-mock","siteName":"SudoMock","title":"Update the Studio config - SudoMock","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-15T15:57:46.200Z","originalFileLocation":"api-reference/studio/update-the-studio-config.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Updates the Studio appearance and controls for this API key.\">\u003cmeta data-mint-head name=\"application-name\" content=\"SudoMock\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/sudo-mock/t3QOI-vNSA1KXEZc/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/sudo-mock/t3QOI-vNSA1KXEZc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sudo-mock/t3QOI-vNSA1KXEZc/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/sudo-mock/t3QOI-vNSA1KXEZc/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/sudo-mock/t3QOI-vNSA1KXEZc/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/sudo-mock/t3QOI-vNSA1KXEZc/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/sudo-mock/t3QOI-vNSA1KXEZc/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/sudo-mock/t3QOI-vNSA1KXEZc/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/sudo-mock/t3QOI-vNSA1KXEZc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update the Studio config - SudoMock\">\u003cmeta data-mint-head property=\"og:description\" content=\"Updates the Studio appearance and controls for this API key.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"SudoMock\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://sudomock.com/docs/api-reference/studio/update-the-studio-config\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://sudo-mock.mintlify.site/docs/_mintlify/api/og/v2?division=Studio\u0026amp;title=Update+the+Studio+config\u0026amp;description=Updates+the+Studio+appearance+and+controls+for+this+API+key.\u0026amp;theme=18e5da028b0d31363c41edc1\u0026amp;signature=35e7502a9fddc3c2ef27469ade1e3f8ddd47e31f6d795d3018bed2102466d998\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Update the Studio config - SudoMock\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Updates the Studio appearance and controls for this API key.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://sudo-mock.mintlify.site/docs/_mintlify/api/og/v2?division=Studio\u0026amp;title=Update+the+Studio+config\u0026amp;description=Updates+the+Studio+appearance+and+controls+for+this+API+key.\u0026amp;theme=18e5da028b0d31363c41edc1\u0026amp;signature=35e7502a9fddc3c2ef27469ade1e3f8ddd47e31f6d795d3018bed2102466d998\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/sudo-mock/t3QOI-vNSA1KXEZc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"SudoMock\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://sudomock.com/docs/api-reference/studio/update-the-studio-config\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/studio/update-the-studio-config.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://sudomock.com/#organization\",\"name\":\"SudoMock\",\"url\":\"https://sudomock.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://sudomock.com/icon-512.png\"},\"sameAs\":[\"https://twitter.com/sudomock\",\"https://github.com/sudomock\",\"https://www.youtube.com/@sudomock\",\"https://sudomock.statuspage.io/\"]},{\"@type\":\"WebSite\",\"@id\":\"https://sudomock.com/docs#website\",\"name\":\"SudoMock\",\"url\":\"https://sudomock.com/docs\",\"publisher\":{\"@id\":\"https://sudomock.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://sudomock.com/docs/api-reference/studio/update-the-studio-config#webpage\",\"url\":\"https://sudomock.com/docs/api-reference/studio/update-the-studio-config\",\"name\":\"Update the Studio config\",\"description\":\"Updates the Studio appearance and controls for this API key.\",\"dateModified\":\"2026-10-15T15:57:46.200Z\",\"isPartOf\":{\"@id\":\"https://sudomock.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://sudomock.com/docs/api-reference/studio/update-the-studio-config#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://sudomock.com/docs/api-reference/studio/update-the-studio-config#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Studio\",\"item\":\"https://sudomock.com/docs/api-reference/studio/create-a-new-studio-session\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Update the Studio config\",\"item\":\"https://sudomock.com/docs/api-reference/studio/update-the-studio-config\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://sudomock.com/docs/api-reference/studio/update-the-studio-config#apireference\",\"headline\":\"Update the Studio config\",\"name\":\"Update the Studio config\",\"description\":\"Updates the Studio appearance and controls for this API key.\",\"url\":\"https://sudomock.com/docs/api-reference/studio/update-the-studio-config\",\"mainEntityOfPage\":{\"@id\":\"https://sudomock.com/docs/api-reference/studio/update-the-studio-config#webpage\"},\"dateModified\":\"2026-10-15T15:57:46.200Z\",\"publisher\":{\"@id\":\"https://sudomock.com/#organization\"},\"isPartOf\":{\"@id\":\"https://sudomock.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"SudoMock\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"SudoMock","nav":{"global":null,"tabs":[{"tab":"Documentation","icon":"book","pages":[{"title":"Documentation","href":""}]},{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":"/guides/introduction"}]},{"tab":"API reference","icon":"terminal","groups":[{"group":"API reference","pages":[{"title":"API introduction","sidebarTitle":"Introduction","href":"/api-reference/introduction"},{"title":"Pagination","href":"/api-reference/pagination"},{"title":"Rate limits and concurrency limits","sidebarTitle":"Usage limits","href":"/api-reference/usage-limits"},{"title":"Error codes and how to retry them","sidebarTitle":"Errors","href":"/errors"}]},{"group":"PSD mockups","pages":[{"title":"Create a mockup from a PSD","sidebarTitle":"Upload PSD file","openapi":"openapi.json POST /api/v1/psd/upload","href":"/api-reference/psd-mockups/create-a-mockup-from-a-psd"},{"title":"Retrieve a list of PSD mockups","sidebarTitle":"List PSD mockups","openapi":"openapi.json GET /api/v1/psd-mockups","href":"/api-reference/psd-mockups/retrieve-a-list-of-psd-mockups"},{"title":"Retrieve a single PSD mockup","sidebarTitle":"Get PSD mockup","openapi":"openapi.json GET /api/v1/psd-mockups/{uuid}","href":"/api-reference/psd-mockups/retrieve-a-single-psd-mockup"},{"title":"Retrieve the layers of a PSD mockup","sidebarTitle":"Get PSD mockup layers","openapi":"openapi.json GET /api/v1/psd-mockups/{uuid}/layers","href":"/api-reference/psd-mockups/retrieve-the-layers-of-a-psd-mockup"},{"title":"Update an existing PSD mockup","sidebarTitle":"Update PSD mockup","openapi":"openapi.json PATCH /api/v1/psd-mockups/{uuid}","href":"/api-reference/psd-mockups/update-an-existing-psd-mockup"},{"title":"Remove an existing PSD mockup","sidebarTitle":"Delete PSD mockup","openapi":"openapi.json DELETE /api/v1/psd-mockups/{mockup_uuid}","href":"/api-reference/psd-mockups/remove-an-existing-psd-mockup"},{"title":"Render a PSD mockup","sidebarTitle":"Render PSD mockup","openapi":"openapi.json POST /api/v1/renders","href":"/api-reference/psd-mockups/render-a-psd-mockup"}]},{"group":"Photo mockups","pages":[{"title":"Create a mockup from a product photo","sidebarTitle":"Create photo mockup","openapi":"openapi.json POST /api/v1/photo-mockups","href":"/api-reference/photo-mockups/create-a-mockup-from-a-product-photo"},{"title":"Retrieve a list of photo mockups","sidebarTitle":"List photo mockups","openapi":"openapi.json GET /api/v1/photo-mockups","href":"/api-reference/photo-mockups/retrieve-a-list-of-photo-mockups"},{"title":"Retrieve a single photo mockup","sidebarTitle":"Get photo mockup","openapi":"openapi.json GET /api/v1/photo-mockups/{mockup_id}","href":"/api-reference/photo-mockups/retrieve-a-single-photo-mockup"},{"title":"Update an existing photo mockup","sidebarTitle":"Update photo mockup","openapi":"openapi.json PATCH /api/v1/photo-mockups/{mockup_id}","href":"/api-reference/photo-mockups/update-an-existing-photo-mockup"},{"title":"Replace the print areas of a photo mockup","sidebarTitle":"Replace print areas","openapi":"openapi.json PUT /api/v1/photo-mockups/{mockup_id}/print-areas","href":"/api-reference/photo-mockups/replace-the-print-areas-of-a-photo-mockup"},{"title":"Render a photo mockup","sidebarTitle":"Render photo mockup","openapi":"openapi.json POST /api/v1/photo-mockups/{mockup_id}/render","href":"/api-reference/photo-mockups/render-a-photo-mockup"},{"title":"Remove an existing photo mockup","sidebarTitle":"Delete photo mockup","openapi":"openapi.json DELETE /api/v1/photo-mockups/{mockup_id}","href":"/api-reference/photo-mockups/remove-an-existing-photo-mockup"}]},{"group":"Folders","pages":[{"title":"Create a folder","sidebarTitle":"Create folder","openapi":"openapi.json POST /api/v1/folders","href":"/api-reference/folders/create-a-folder"},{"title":"Retrieve a list of folders","sidebarTitle":"List folders","openapi":"openapi.json GET /api/v1/folders","href":"/api-reference/folders/retrieve-a-list-of-folders"},{"title":"Retrieve a single folder","sidebarTitle":"Get folder","openapi":"openapi.json GET /api/v1/folders/{uuid}","href":"/api-reference/folders/retrieve-a-single-folder"},{"title":"Rename or move a folder","sidebarTitle":"Update folder","openapi":"openapi.json PATCH /api/v1/folders/{uuid}","href":"/api-reference/folders/rename-or-move-a-folder"},{"title":"Move mockups and folders into a folder","sidebarTitle":"Move into folder","openapi":"openapi.json POST /api/v1/folders/move","href":"/api-reference/folders/move-mockups-and-folders-into-a-folder"},{"title":"Remove a folder","sidebarTitle":"Delete folder","openapi":"openapi.json DELETE /api/v1/folders/{uuid}","href":"/api-reference/folders/remove-a-folder"}]},{"group":"Fonts","pages":[{"title":"Create a new font","sidebarTitle":"Upload custom font","openapi":"openapi.json POST /api/v1/fonts","href":"/api-reference/fonts/create-a-new-font"},{"title":"Retrieve a list of fonts","sidebarTitle":"List fonts","openapi":"openapi.json GET /api/v1/fonts","href":"/api-reference/fonts/retrieve-a-list-of-fonts"},{"title":"Retrieve a single font","sidebarTitle":"Get font","openapi":"openapi.json GET /api/v1/fonts/{uuid}","href":"/api-reference/fonts/retrieve-a-single-font"},{"title":"Remove an existing font","sidebarTitle":"Delete custom font","openapi":"openapi.json DELETE /api/v1/fonts/{uuid}","href":"/api-reference/fonts/remove-an-existing-font"}]},{"group":"Video mockups","pages":[{"title":"Render a video mockup","sidebarTitle":"Render video mockup","openapi":"openapi.json POST /api/v1/renders/video","href":"/api-reference/video-mockups/render-a-video-mockup"}]},{"group":"Background removal","pages":[{"title":"Remove the background from an image","sidebarTitle":"Remove background","openapi":"openapi.json POST /api/v1/remove-background","href":"/api-reference/background-removal/remove-the-background-from-an-image"}]},{"group":"Patterns","pages":[{"title":"Check the seams of a pattern tile","sidebarTitle":"Check seams","openapi":"openapi.json POST /api/v1/check-seams","href":"/api-reference/patterns/check-seams"},{"title":"Fix the seams of a pattern tile","sidebarTitle":"Fix seams","openapi":"openapi.json POST /api/v1/fix-seams","href":"/api-reference/patterns/fix-seams"}]},{"group":"Studio","pages":[{"title":"Create a new Studio session","sidebarTitle":"Create Studio session","openapi":"openapi.json POST /api/v1/studio/create-session","href":"/api-reference/studio/create-a-new-studio-session"},{"title":"Retrieve the Studio config","sidebarTitle":"Get Studio config","openapi":"openapi.json GET /api/v1/studio/config","description":"Returns the API key's complete effective Studio configuration.","href":"/api-reference/studio/retrieve-the-studio-config"},{"title":"Update the Studio config","sidebarTitle":"Update Studio config","openapi":"openapi.json PUT /api/v1/studio/config","href":"/api-reference/studio/update-the-studio-config"},{"title":"Consume a Studio action","sidebarTitle":"Consume Studio action","openapi":"openapi.json POST /api/v1/studio/actions/consume","description":"Server-only exactly-once confirmation of a Studio action against its bound successful render.","href":"/api-reference/studio/consume-a-studio-action"}]},{"group":"Webhook endpoints","pages":[{"title":"Create a new webhook endpoint","sidebarTitle":"Create webhook","openapi":"openapi.json POST /api/v1/webhook-endpoints","href":"/api-reference/webhook-endpoints/create-a-new-webhook-endpoint"},{"title":"Retrieve a list of webhook endpoints","sidebarTitle":"List webhooks","openapi":"openapi.json GET /api/v1/webhook-endpoints","href":"/api-reference/webhook-endpoints/retrieve-a-list-of-webhook-endpoints"},{"title":"Retrieve a single webhook endpoint","sidebarTitle":"Get webhook","openapi":"openapi.json GET /api/v1/webhook-endpoints/{endpoint_id}","href":"/api-reference/webhook-endpoints/retrieve-a-single-webhook-endpoint"},{"title":"Update an existing webhook endpoint","sidebarTitle":"Update webhook","openapi":"openapi.json PATCH /api/v1/webhook-endpoints/{endpoint_id}","href":"/api-reference/webhook-endpoints/update-an-existing-webhook-endpoint"},{"title":"Remove an existing webhook endpoint","sidebarTitle":"Delete webhook","openapi":"openapi.json DELETE /api/v1/webhook-endpoints/{endpoint_id}","href":"/api-reference/webhook-endpoints/remove-an-existing-webhook-endpoint"},{"title":"Rotate the signing secret","sidebarTitle":"Rotate signing secret","openapi":"openapi.json POST /api/v1/webhook-endpoints/{endpoint_id}/rotate-secret","href":"/api-reference/webhook-endpoints/rotate-the-signing-secret"},{"title":"Send a test webhook event","sidebarTitle":"Send test event","openapi":"openapi.json POST /api/v1/webhook-endpoints/{endpoint_id}/test","href":"/api-reference/webhook-endpoints/send-a-test-event"}]},{"group":"Webhook deliveries","pages":[{"title":"Retrieve the delivery overview","sidebarTitle":"Get delivery overview","openapi":"openapi.json GET /api/v1/webhook-endpoints/overview","href":"/api-reference/webhook-deliveries/retrieve-the-delivery-overview"},{"title":"Retrieve a list of events","sidebarTitle":"List all deliveries","openapi":"openapi.json GET /api/v1/webhook-endpoints/events","href":"/api-reference/webhook-deliveries/retrieve-a-list-of-events"},{"title":"Retrieve a list of deliveries","sidebarTitle":"List endpoint deliveries","openapi":"openapi.json GET /api/v1/webhook-endpoints/{endpoint_id}/deliveries","href":"/api-reference/webhook-deliveries/retrieve-a-list-of-deliveries"},{"title":"Retrieve a single delivery","sidebarTitle":"Get delivery","openapi":"openapi.json GET /api/v1/webhook-endpoints/{endpoint_id}/deliveries/{delivery_id}","href":"/api-reference/webhook-deliveries/retrieve-a-single-delivery"},{"title":"Replay a single delivery","sidebarTitle":"Replay delivery","openapi":"openapi.json POST /api/v1/webhook-endpoints/{endpoint_id}/deliveries/{delivery_id}/replay","href":"/api-reference/webhook-deliveries/replay-a-single-delivery"},{"title":"Replay all failed deliveries","sidebarTitle":"Replay failed deliveries","openapi":"openapi.json POST /api/v1/webhook-endpoints/{endpoint_id}/deliveries/replay-failed","href":"/api-reference/webhook-deliveries/replay-all-failed-deliveries"}]},{"group":"Jobs","pages":[{"title":"Retrieve a list of jobs","sidebarTitle":"List jobs","openapi":"openapi.json GET /api/v1/jobs","href":"/api-reference/jobs/retrieve-a-list-of-jobs"},{"title":"Retrieve a single job","sidebarTitle":"Get job","openapi":"openapi.json GET /api/v1/jobs/{job_id}","href":"/api-reference/jobs/retrieve-a-single-job"}]},{"group":"Account","pages":[{"title":"Retrieve the current account","sidebarTitle":"Get account","openapi":"openapi.json GET /api/v1/me","href":"/api-reference/account/retrieve-the-current-account"},{"title":"Retrieve a list of plans","sidebarTitle":"List subscription plans","openapi":"openapi.json GET /api/v1/packages/plans","href":"/api-reference/account/retrieve-a-list-of-plans"}]}]}]},"basePath":"","title":"Update the Studio config - SudoMock","buildId":"dpl_6dVqRXFR2Go5vF5RLvAdHuv189oT","deploymentId":"dpl_6dVqRXFR2Go5vF5RLvAdHuv189oT","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-D_7my4bd.js","utils-Cq_itTNA.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B5KPEvGz.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DBX-JepP.js","snippetPresets-Bsspz-Ge.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","Page-t8ynOKTD.js","ApiExamples-jcs-2nGf.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Dp53in7F.js","shallow-Dv9eUdUd.js","getApiPlaygroundDisplay-D8cDwNhi.js","CodeSnippet-DkwXLQor.js","CodeSnippets-DcSgKqs5.js","getPastedJson-I2RjoApV.js","icon-BIj57rZC.js","MethodPill-CTwLPWXC.js","DuplicateIcon-BJpFwygY.js","createIcon-C7PorfAe.js","DynamicMarkdown-BBht_uEs.js","SectionHeading-YIBwxbzj.js","axios-vUo_bRtp.js","Markdown--YCeFtOs.js","clsx-CrPa459s.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BWxsj3I0.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-fBzVvq7k.js"]}