Update a device managed network

Updates a configured device managed network.

/accounts/{identifier}/devices/networks/{uuid}

put

Device Managed Networks

device-managed-networks-update-device-managed-network

Debug "planAvailability"

null

Debug "tokenPermissions"

null

Debug "parameters"

[
  {
    "in": "path",
    "name": "uuid",
    "required": true,
    "schema": {
      "description": "API UUID.",
      "example": "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
      "maxLength": 36,
      "type": "string"
    }
  },
  {
    "in": "path",
    "name": "identifier",
    "required": true,
    "schema": {
      "example": "699d98642c564d2e855e9661899b7252"
    }
  }
]

Debug "requestBody"

{
  "content": {
    "application/json": {
      "schema": {
        "properties": {
          "config": {
            "description": "The configuration object containing information for the WARP client to detect the managed network.",
            "example": {
              "sha256": "b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c",
              "tls_sockaddr": "foo.bar:1234"
            },
            "oneOf": [
              {
                "properties": {
                  "sha256": {
                    "description": "The SHA-256 hash of the TLS certificate presented by the host found at tls_sockaddr. If absent, regular certificate verification (trusted roots, valid timestamp, etc) will be used to validate the certificate.",
                    "example": "b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c",
                    "type": "string"
                  },
                  "tls_sockaddr": {
                    "description": "A network address of the form \"host:port\" that the WARP client will use to detect the presence of a TLS host.",
                    "example": "foobar:1234",
                    "type": "string"
                  }
                },
                "required": [
                  "tls_sockaddr"
                ],
                "type": "object"
              }
            ],
            "type": "object"
          },
          "name": {
            "description": "The name of the device managed network. This name must be unique.",
            "example": "managed-network-1",
            "type": "string"
          },
          "type": {
            "description": "The type of device managed network.",
            "enum": [
              "tls"
            ],
            "example": "tls",
            "type": "string"
          }
        }
      }
    }
  },
  "required": true
}

Debug "responses"

{
  "200": {
    "content": {
      "application/json": {
        "schema": {
          "allOf": [
            {
              "allOf": [
                {
                  "properties": {
                    "errors": {
                      "example": [],
                      "items": {
                        "properties": {
                          "code": {
                            "minimum": 1000,
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "message"
                        ],
                        "type": "object",
                        "uniqueItems": true
                      },
                      "type": "array"
                    },
                    "messages": {
                      "example": [],
                      "items": {
                        "properties": {
                          "code": {
                            "minimum": 1000,
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "message"
                        ],
                        "type": "object",
                        "uniqueItems": true
                      },
                      "type": "array"
                    },
                    "result": {
                      "anyOf": [
                        {
                          "type": "object"
                        },
                        {
                          "items": {},
                          "type": "array"
                        },
                        {
                          "type": "string"
                        }
                      ]
                    },
                    "success": {
                      "description": "Whether the API call was successful.",
                      "enum": [
                        true
                      ],
                      "example": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "success",
                    "errors",
                    "messages",
                    "result"
                  ],
                  "type": "object"
                },
                {
                  "properties": {
                    "result": {
                      "anyOf": [
                        {
                          "type": "object"
                        },
                        {
                          "type": "string"
                        }
                      ],
                      "nullable": true,
                      "type": "object"
                    }
                  }
                }
              ],
              "type": "object"
            },
            {
              "properties": {
                "result": {
                  "properties": {
                    "config": {
                      "description": "The configuration object containing information for the WARP client to detect the managed network.",
                      "example": {
                        "sha256": "b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c",
                        "tls_sockaddr": "foo.bar:1234"
                      },
                      "oneOf": [
                        {
                          "description": "The Managed Network TLS Config Response.",
                          "properties": {
                            "sha256": {
                              "description": "The SHA-256 hash of the TLS certificate presented by the host found at tls_sockaddr. If absent, regular certificate verification (trusted roots, valid timestamp, etc) will be used to validate the certificate.",
                              "example": "b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c",
                              "type": "string"
                            },
                            "tls_sockaddr": {
                              "description": "A network address of the form \"host:port\" that the WARP client will use to detect the presence of a TLS host.",
                              "example": "foobar:1234",
                              "type": "string"
                            }
                          },
                          "required": [
                            "tls_sockaddr"
                          ],
                          "type": "object"
                        }
                      ],
                      "type": "object"
                    },
                    "name": {
                      "description": "The name of the device managed network. This name must be unique.",
                      "example": "managed-network-1",
                      "type": "string"
                    },
                    "network_id": {
                      "description": "API UUID.",
                      "example": "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
                      "maxLength": 36,
                      "type": "string"
                    },
                    "type": {
                      "description": "The type of device managed network.",
                      "enum": [
                        "tls"
                      ],
                      "example": "tls",
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            }
          ]
        }
      }
    },
    "description": "Update a device managed network response"
  },
  "4XX": {
    "content": {
      "application/json": {
        "schema": {
          "allOf": [
            {
              "allOf": [
                {
                  "allOf": [
                    {
                      "properties": {
                        "errors": {
                          "example": [],
                          "items": {
                            "properties": {
                              "code": {
                                "minimum": 1000,
                                "type": "integer"
                              },
                              "message": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "code",
                              "message"
                            ],
                            "type": "object",
                            "uniqueItems": true
                          },
                          "type": "array"
                        },
                        "messages": {
                          "example": [],
                          "items": {
                            "properties": {
                              "code": {
                                "minimum": 1000,
                                "type": "integer"
                              },
                              "message": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "code",
                              "message"
                            ],
                            "type": "object",
                            "uniqueItems": true
                          },
                          "type": "array"
                        },
                        "result": {
                          "anyOf": [
                            {
                              "type": "object"
                            },
                            {
                              "items": {},
                              "type": "array"
                            },
                            {
                              "type": "string"
                            }
                          ]
                        },
                        "success": {
                          "description": "Whether the API call was successful.",
                          "enum": [
                            true
                          ],
                          "example": true,
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "success",
                        "errors",
                        "messages",
                        "result"
                      ],
                      "type": "object"
                    },
                    {
                      "properties": {
                        "result": {
                          "anyOf": [
                            {
                              "type": "object"
                            },
                            {
                              "type": "string"
                            }
                          ],
                          "nullable": true,
                          "type": "object"
                        }
                      }
                    }
                  ],
                  "type": "object"
                },
                {
                  "properties": {
                    "result": {
                      "properties": {
                        "config": {
                          "description": "The configuration object containing information for the WARP client to detect the managed network.",
                          "example": {
                            "sha256": "b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c",
                            "tls_sockaddr": "foo.bar:1234"
                          },
                          "oneOf": [
                            {
                              "description": "The Managed Network TLS Config Response.",
                              "properties": {
                                "sha256": {
                                  "description": "The SHA-256 hash of the TLS certificate presented by the host found at tls_sockaddr. If absent, regular certificate verification (trusted roots, valid timestamp, etc) will be used to validate the certificate.",
                                  "example": "b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c",
                                  "type": "string"
                                },
                                "tls_sockaddr": {
                                  "description": "A network address of the form \"host:port\" that the WARP client will use to detect the presence of a TLS host.",
                                  "example": "foobar:1234",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "tls_sockaddr"
                              ],
                              "type": "object"
                            }
                          ],
                          "type": "object"
                        },
                        "name": {
                          "description": "The name of the device managed network. This name must be unique.",
                          "example": "managed-network-1",
                          "type": "string"
                        },
                        "network_id": {
                          "description": "API UUID.",
                          "example": "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
                          "maxLength": 36,
                          "type": "string"
                        },
                        "type": {
                          "description": "The type of device managed network.",
                          "enum": [
                            "tls"
                          ],
                          "example": "tls",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  }
                }
              ]
            },
            {
              "properties": {
                "errors": {
                  "allOf": [
                    {
                      "example": [],
                      "items": {
                        "properties": {
                          "code": {
                            "minimum": 1000,
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "message"
                        ],
                        "type": "object",
                        "uniqueItems": true
                      },
                      "type": "array"
                    }
                  ],
                  "example": [
                    {
                      "code": 7003,
                      "message": "No route for the URI"
                    }
                  ],
                  "minLength": 1
                },
                "messages": {
                  "allOf": [
                    {
                      "example": [],
                      "items": {
                        "properties": {
                          "code": {
                            "minimum": 1000,
                            "type": "integer"
                          },
                          "message": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "code",
                          "message"
                        ],
                        "type": "object",
                        "uniqueItems": true
                      },
                      "type": "array"
                    }
                  ],
                  "example": []
                },
                "result": {
                  "enum": [
                    null
                  ],
                  "nullable": true,
                  "type": "object"
                },
                "success": {
                  "description": "Whether the API call was successful",
                  "enum": [
                    false
                  ],
                  "example": false,
                  "type": "boolean"
                }
              },
              "required": [
                "success",
                "errors",
                "messages",
                "result"
              ],
              "type": "object"
            }
          ]
        }
      }
    },
    "description": "Update a device managed network response failure"
  }
}

Debug "security"

[
  {
    "api_email": [],
    "api_key": []
  }
]