---
updatedAt: 2025-04-28T20:03:01.000Z
agentTools:
  projectIndex: https://docs.introvoke.com/llms.txt
---

# Update a company with json data

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Introvoke API",
    "description": "This is the documentation required to access the Introvoke API. It contains information on how to create Companies, add events to each company and manage the presenters.",
    "termsOfService": "https://www.introvoke.com/terms/",
    "contact": {
      "email": "support@introvoke.com"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.introvoke.com/api/v1"
    }
  ],
  "tags": [
    {
      "name": "company",
      "description": "Calls to managing companies"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/company/{companyId}": {
      "post": {
        "tags": [
          "company"
        ],
        "summary": "Update a company with json data",
        "operationId": "updatecompanyWithJson",
        "parameters": [
          {
            "name": "companyId",
            "in": "path",
            "description": "ID of company that needs to be updated",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompanyUpdate"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Company"
                }
              }
            }
          },
          "400": {
            "description": "Company id not found",
            "content": {}
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "404": {
            "description": "Invalid input",
            "content": {}
          }
        }
      }
    }
  },
  "components": {
    "responses": {
      "UnauthorizedError": {
        "description": "Access token is missing or invalid"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "schemas": {
      "CompanyUpdate": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Updated name of the company"
          },
          "logo": {
            "type": "string",
            "description": "Updated logo of the company"
          }
        }
      },
      "Metadata": {
        "type": "object",
        "additionalProperties": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "value": {
                "type": "string"
              }
            },
            "required": [
              "value"
            ],
            "type": "object"
          },
          "type": "array"
        }
      },
      "Company": {
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "parentCompanyId": {
            "type": "string",
            "nullable": true
          },
          "eventIds": {
            "description": "Holds an array of all the events for this company",
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "metadata": {
            "$ref": "#/components/schemas/Metadata"
          }
        },
        "xml": {
          "name": "Company"
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```