---
updatedAt: 2025-03-08T01:24:10.000Z
agentTools:
  projectIndex: https://docs.cybercloudnetworks.net/v1.1/llms.txt
---

# post

# OpenAPI definition

```json
{
  "openapi": "3.0.2",
  "info": {
    "title": "API Login",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "http://localhost:9000"
    },
    {
      "url": "https://clouddmax.cybercloudnetworks.net:8443/apiv1"
    }
  ],
  "security": [
    {
      "apikey": []
    }
  ],
  "paths": {
    "/updateItem": {
      "post": {
        "operationId": "updateItem",
        "parameters": [
          {
            "in": "header",
            "name": "data",
            "schema": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "description": "Path in config file (levels are divided by '/')"
                }
              }
            }
          }
        ],
        "requestBody": {
          "description": "The object of the type described in the 'type' header",
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/DNSConnector"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apikey": {
        "type": "apiKey",
        "in": "header",
        "name": "apikey"
      }
    },
    "schemas": {
      "DNSConnector": {
        "type": "object",
        "required": [
          "id",
          "name",
          "apikey",
          "timeout",
          "profile"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "apikey": {
            "type": "string",
            "description": "apikey to access it remotely"
          },
          "timeout": {
            "type": "integer",
            "description": "timeout in milliseconds"
          },
          "profile": {
            "type": "integer",
            "description": "id of the Cyber Connector with URL/DNS analysis"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "black_list": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "extension without dot"
            }
          },
          "white_list": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "extension without dot"
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```