{
  "name": "PutWorkspace",
  "plane": "control",
  "terraformEligible": false,
  "protocol": {
    "kind": "rest",
    "method": "PUT",
    "path": "/auth/workspaces/{workspace}",
    "query": [],
    "headers": [
      "authorization"
    ],
    "body": true
  },
  "requestBody": "json",
  "responseBody": "json",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {
      "configYaml": {
        "type": "string"
      },
      "workspace": {
        "type": "string"
      }
    },
    "required": [
      "configYaml",
      "workspace"
    ],
    "title": "PutWorkspaceRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "properties": {
      "success": {
        "type": "boolean"
      }
    },
    "required": [
      "success"
    ],
    "title": "SuccessResponse",
    "type": "object"
  }
}
