{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kenna-security/json-schema/kenna-security-users-put-request-body-schema-schema.json",
  "title": "users_put_request_body_schema",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kenna-security-users-api-openapi.yml#/components/schemas/users_put_request_body_schema",
  "type": "object",
  "properties": {
    "user": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "description": "The user will need an email address in order to login to Cisco Vulnerability Management."
        },
        "firstname": {
          "type": "string",
          "description": "First Name of the user"
        },
        "lastname": {
          "type": "string",
          "description": "Last Name of the user"
        },
        "roles": {
          "type": "array",
          "description": "The roles assigned to a user, required if `role_ids` is not provided",
          "default": [],
          "items": {
            "type": "string"
          }
        },
        "role_ids": {
          "type": "array",
          "description": "The role IDs assigned to a user, required if `roles` is not provided",
          "default": [],
          "items": {
            "type": "integer",
            "format": "int32"
          }
        },
        "external_id": {
          "type": "string",
          "description": "A client defined string; for example, an internal Active Directory account name."
        },
        "phone": {
          "type": "string",
          "description": "The user's phone number"
        },
        "current_password": {
          "type": "string",
          "description": "Existing password."
        },
        "password": {
          "type": "string",
          "description": "New password. The `current_password` must be provided correctly, or this operation will fail."
        }
      }
    }
  }
}