25 lines
7.6 KiB
HTML
25 lines
7.6 KiB
HTML
<!DOCTYPE html SYSTEM "about:legacy-compat">
|
|
<html lang="en-US" data-preset="contrast" data-primary-color="#307FFF"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="UTF-8"><meta name="robots" content="noindex"><meta name="built-on" content="2026-03-17T15:43:17.795338"><title>Update department self-serve status | Copenhagen Truck Wash API</title><script type="application/json" id="virtual-toc-data">[{"id":"endpoint","level":0,"title":"Endpoint","anchor":"#endpoint"},{"id":"operation","level":0,"title":"Operation","anchor":"#operation"},{"id":"authentication","level":0,"title":"Authentication","anchor":"#authentication"},{"id":"parameters","level":0,"title":"Parameters","anchor":"#parameters"},{"id":"responses","level":0,"title":"Responses","anchor":"#responses"}]</script><script type="application/json" id="topic-shortcuts"></script><link href="https://resources.jetbrains.com/writerside/apidoc/6.26.0-b913/app.css" rel="stylesheet"><meta name="msapplication-TileColor" content="#000000"><link rel="apple-touch-icon" sizes="180x180" href="https://jetbrains.com/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="https://jetbrains.com/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="https://jetbrains.com/favicon-16x16.png"><meta name="msapplication-TileImage" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-144x144.png"><meta name="msapplication-square70x70logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-70x70.png"><meta name="msapplication-square150x150logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-150x150.png"><meta name="msapplication-wide310x150logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-310x150.png"><meta name="msapplication-square310x310logo" content="https://resources.jetbrains.com/storage/ui/favicons/mstile-310x310.png"><meta name="image" content=""><!-- Open Graph --><meta property="og:title" content="Update department self-serve status | Copenhagen Truck Wash API"><meta property="og:description" content=""><meta property="og:image" content=""><meta property="og:site_name" content="Copenhagen Truck Wash API Help"><meta property="og:type" content="website"><meta property="og:locale" content="en_US"><meta property="og:url" content="writerside-documentation/updatedepartmentselfserveenabled.html"><!-- End Open Graph --><!-- Twitter Card --><meta name="twitter:card" content="summary_large_image"><meta name="twitter:site" content=""><meta name="twitter:title" content="Update department self-serve status | Copenhagen Truck Wash API"><meta name="twitter:description" content=""><meta name="twitter:creator" content=""><meta name="twitter:image:src" content=""><!-- End Twitter Card --><!-- Schema.org WebPage --><script type="application/ld+json">{
|
|
"@context": "http://schema.org",
|
|
"@type": "WebPage",
|
|
"@id": "writerside-documentation/updatedepartmentselfserveenabled.html#webpage",
|
|
"url": "writerside-documentation/updatedepartmentselfserveenabled.html",
|
|
"name": "Update department self-serve status | Copenhagen Truck Wash API",
|
|
"description": "",
|
|
"image": "",
|
|
"inLanguage":"en-US"
|
|
}</script><!-- End Schema.org --><!-- Schema.org WebSite --><script type="application/ld+json">{
|
|
"@type": "WebSite",
|
|
"@id": "writerside-documentation/#website",
|
|
"url": "writerside-documentation/",
|
|
"name": "Copenhagen Truck Wash API Help"
|
|
}</script><!-- End Schema.org --></head><body data-id="updateDepartmentSelfServeEnabled" data-main-title="Update department self-serve status" data-article-props="{"seeAlsoStyle":"links"}" data-template="article" data-breadcrumbs="API-Reference.topic|API Reference///Tag_Departments.topic|Departments///Tag_Departments_Page_2.topic|Departments - Page 2 of 2"><div class="wrapper"><main class="panel _main"><header class="panel__header"><div class="container"><h3>Copenhagen Truck Wash API Help</h3><div class="panel-trigger"></div></div></header><section class="panel__content"><div class="container"><article class="article" data-shortcut-switcher="inactive"><h1 data-toc="updateDepartmentSelfServeEnabled" id="updateDepartmentSelfServeEnabled.topic">Update department self-serve status</h1><p id="-gezhvr_2">This endpoint documentation is generated directly from <code class="code" id="-gezhvr_8">openapi.yaml</code>.</p><section class="chapter"><h2 id="endpoint" data-toc="endpoint">Endpoint</h2><div class="code-block" data-lang="http">PUT /departments/self-serve/enabled</div></section><section class="chapter"><h2 id="operation" data-toc="operation">Operation</h2><p id="-gezhvr_10">Operation ID: <code class="code" id="-gezhvr_12">updateDepartmentSelfServeEnabled</code></p><p id="-gezhvr_11">Enable or disable self-serve for a specific department</p></section><section class="chapter"><h2 id="authentication" data-toc="authentication">Authentication</h2><p id="-gezhvr_13">Security requirements:</p><div class="table-wrapper"><table class="wide" id="-gezhvr_14"><thead><tr class="ijRowHead" id="-gezhvr_15"><th id="-gezhvr_17"><p>Scheme</p></th><th id="-gezhvr_18"><p>Scopes</p></th></tr></thead><tbody><tr id="-gezhvr_16"><td id="-gezhvr_19"><p>BearerAuth</p></td><td id="-gezhvr_20"><p>-</p></td></tr></tbody></table></div></section><section class="chapter"><h2 id="parameters" data-toc="parameters">Parameters</h2><div class="table-wrapper"><table class="wide" id="-gezhvr_21"><thead><tr class="ijRowHead" id="-gezhvr_22"><th id="-gezhvr_25"><p>Name</p></th><th id="-gezhvr_26"><p>In</p></th><th id="-gezhvr_27"><p>Required</p></th><th id="-gezhvr_28"><p>Type</p></th><th id="-gezhvr_29"><p>Description</p></th></tr></thead><tbody><tr id="-gezhvr_23"><td id="-gezhvr_30"><p>id</p></td><td id="-gezhvr_31"><p>query</p></td><td id="-gezhvr_32"><p>yes</p></td><td id="-gezhvr_33"><p>integer</p></td><td id="-gezhvr_34"><p>Department ID</p></td></tr><tr id="-gezhvr_24"><td id="-gezhvr_35"><p>enabled</p></td><td id="-gezhvr_36"><p>query</p></td><td id="-gezhvr_37"><p>yes</p></td><td id="-gezhvr_38"><p>string</p></td><td id="-gezhvr_39"><p>Enabled status (true/false)</p></td></tr></tbody></table></div></section><section class="chapter"><h2 id="responses" data-toc="responses">Responses</h2><div class="table-wrapper"><table class="wide" id="-gezhvr_40"><thead><tr class="ijRowHead" id="-gezhvr_43"><th id="-gezhvr_46"><p>Status</p></th><th id="-gezhvr_47"><p>Description</p></th><th id="-gezhvr_48"><p>Content Types</p></th></tr></thead><tbody><tr id="-gezhvr_44"><td id="-gezhvr_49"><p>200</p></td><td id="-gezhvr_50"><p>Status updated successfully</p></td><td id="-gezhvr_51"><p>application/json</p></td></tr><tr id="-gezhvr_45"><td id="-gezhvr_52"><p>404</p></td><td id="-gezhvr_53"></td><td id="-gezhvr_54"></td></tr></tbody></table></div><p id="-gezhvr_41">Schema for response <code class="code" id="-gezhvr_55">200</code> (<code class="code" id="-gezhvr_56">application/json</code>):</p><div class="code-block" data-lang="json">
|
|
{
|
|
"properties": {
|
|
"message": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
</div></section><div class="last-modified">17 March 2026</div><div data-feedback-placeholder="true"></div><div class="navigation-links _bottom"><a href="getdepartmentselfserveenabled.html" class="navigation-links__prev">Get department self-serve status</a><a href="getdepartmentweathertimeline.html" class="navigation-links__next">Get department weather timeline</a></div></article><div id="disqus_thread"></div></div></section></main></div><script src="https://resources.jetbrains.com/writerside/apidoc/6.26.0-b913/app.js"></script></body></html> |