---
updatedAt: 2026-07-28T13:52:43.000Z
---

# Update an event version

Use this API to update an event version. You only need to specify the fields that need to be updated.<br><br><a href="https://api.solace.dev/cloud/reference/authentication">Token Permissions</a>: [ `event:update:*` ]

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Event Portal - Designer",
    "description": "REST API Concepts\n\nSolace Event Portal provides REST APIs that you can use to manage your data in Solace Cloud. \nThe REST APIs allow you to model your event-driven architectures from your own client applications.\n\nThe following document describes the public REST APIs available for use in Event Portal 2.0. Objects created in this \nversion will not be available in Event Portal 1.0. APIs that display (Beta) in their summary are provided as-is and \nare subject to change or removal. They may not be of the quality expected for generally available APIs and have no \nguaranteed forward compatibility with the generally available version of the API.\n\n",
    "version": "2.13.2"
  },
  "servers": [
    {
      "url": "https://api.solace.cloud",
      "description": "Solace PubSub+ Cloud US EAST Region"
    },
    {
      "url": "https://api.solacecloud.com.au",
      "description": "Solace PubSub+ Cloud AU Region"
    },
    {
      "url": "https://api.solacecloud.eu",
      "description": "Solace PubSub+ Cloud EU Region"
    },
    {
      "url": "https://api.solacecloud.sg",
      "description": "Solace PubSub+ Cloud SG Region"
    }
  ],
  "security": [
    {
      "APIToken": []
    }
  ],
  "tags": [
    {
      "name": "Events"
    }
  ],
  "paths": {
    "/api/v2/architecture/eventVersions/{id}": {
      "patch": {
        "tags": [
          "Events"
        ],
        "summary": "Update an event version",
        "description": "Use this API to update an event version. You only need to specify the fields that need to be updated.<br><br><a href=\"https://api.solace.dev/cloud/reference/authentication\">Token Permissions</a>: [ `event:update:*` ]",
        "operationId": "updateEventVersion",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The ID of the event version to update.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The event version.",
          "content": {
            "application/json;charset=UTF-8": {
              "schema": {
                "$ref": "#/components/schemas/EventVersion"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The updated event version.",
            "content": {
              "application/json;charset=UTF-8": {
                "schema": {
                  "$ref": "#/components/schemas/EventVersionResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ErrorResponse"
                    },
                    {
                      "$ref": "#/components/schemas/InvalidStateReference"
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "405": {
            "description": "Method Not Allowed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "501": {
            "description": "Not Implemented",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Address": {
        "type": "object",
        "properties": {
          "createdTime": {
            "type": "string",
            "description": "The time the entity was created",
            "example": "2021-12-31T20:30:57.920Z",
            "readOnly": true
          },
          "updatedTime": {
            "type": "string",
            "description": "The time the entity was last updated",
            "example": "2021-12-31T20:30:57.920Z",
            "readOnly": true
          },
          "createdBy": {
            "type": "string",
            "description": "The user who created the entity",
            "example": 12345678,
            "readOnly": true
          },
          "changedBy": {
            "type": "string",
            "description": "The user who last updated the entity",
            "example": 12345678,
            "readOnly": true
          },
          "id": {
            "type": "string",
            "example": "xyz23mwec2g",
            "readOnly": true
          },
          "addressLevels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AddressLevel"
            }
          },
          "addressType": {
            "type": "string",
            "enum": [
              "topic"
            ]
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "addressLevels"
        ]
      },
      "AddressLevel": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "root"
          },
          "addressLevelType": {
            "type": "string",
            "enum": [
              "literal",
              "variable"
            ]
          },
          "enumVersionId": {
            "type": "string"
          }
        },
        "required": [
          "addressLevelType",
          "name"
        ]
      },
      "AttractingApplicationVersionTuple": {
        "type": "object",
        "properties": {
          "applicationVersionId": {
            "type": "string"
          },
          "eventMeshIds": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "uniqueItems": true
          }
        }
      },
      "CustomAttribute": {
        "type": "object",
        "properties": {
          "customAttributeDefinitionId": {
            "type": "string",
            "example": "acb2j5k3mly"
          },
          "customAttributeDefinitionName": {
            "type": "string",
            "example": "color",
            "pattern": "a-zA-Z0-9_\\-\\."
          },
          "value": {
            "type": "string",
            "example": "red",
            "pattern": "a-zA-Z0-9_\\-\\."
          },
          "stringValues": {
            "type": "string",
            "example": "red",
            "pattern": "a-zA-Z0-9_\\-\\."
          }
        }
      },
      "DeliveryDescriptor": {
        "type": "object",
        "properties": {
          "createdTime": {
            "type": "string",
            "description": "The time the entity was created",
            "example": "2021-12-31T20:30:57.920Z",
            "readOnly": true
          },
          "updatedTime": {
            "type": "string",
            "description": "The time the entity was last updated",
            "example": "2021-12-31T20:30:57.920Z",
            "readOnly": true
          },
          "createdBy": {
            "type": "string",
            "description": "The user who created the entity",
            "example": 12345678,
            "readOnly": true
          },
          "changedBy": {
            "type": "string",
            "description": "The user who last updated the entity",
            "example": 12345678,
            "readOnly": true
          },
          "brokerType": {
            "type": "string"
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "keySchemaVersionId": {
            "type": "string",
            "example": "shb3mlyec2g"
          },
          "keySchemaPrimitiveType": {
            "type": "string",
            "enum": [
              "BOOLEAN",
              "BYTES",
              "DOUBLE",
              "FLOAT",
              "INT",
              "LONG",
              "NULL",
              "NUMBER",
              "STRING"
            ],
            "example": "BYTES"
          },
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        }
      },
      "ErrorResponse": {
        "type": "object",
        "discriminator": {
          "propertyName": "errorType"
        },
        "properties": {
          "message": {
            "type": "string",
            "description": "A user-friendly message that describes the error.",
            "example": "An error occurred."
          },
          "errorId": {
            "type": "string",
            "description": "The UUID (Universally Unique Identifier) that is logged with an appropriate stack trace for a WARN or ERROR log that allows support to better determine what cause the error.",
            "example": "123e4567-e89b-12d3-a456-426655440000"
          },
          "meta": {
            "type": "object",
            "additionalProperties": {},
            "example": "'object': { 'field': 'description' }"
          },
          "validationDetails": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "description": "When applicable, these are the details of issues with the fields provided for the REST call.",
            "example": "'name': ['Not unique']"
          },
          "errorType": {
            "type": "string",
            "writeOnly": true
          }
        }
      },
      "EventVersion": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "createdTime": {
            "type": "string",
            "description": "The time the entity was created",
            "example": "2021-12-31T20:30:57.920Z",
            "readOnly": true
          },
          "updatedTime": {
            "type": "string",
            "description": "The time the entity was last updated",
            "example": "2021-12-31T20:30:57.920Z",
            "readOnly": true
          },
          "createdBy": {
            "type": "string",
            "description": "The user who created the entity",
            "example": 12345678,
            "readOnly": true
          },
          "changedBy": {
            "type": "string",
            "description": "The user who last updated the entity",
            "example": 12345678,
            "readOnly": true
          },
          "id": {
            "type": "string",
            "example": "xyz23mwec2g",
            "readOnly": true
          },
          "eventId": {
            "type": "string",
            "example": "acb2j5k3mly"
          },
          "description": {
            "type": "string",
            "example": "Event version created by Solace Cloud documentation",
            "maxLength": 10000
          },
          "version": {
            "type": "string",
            "example": "1.0.0"
          },
          "displayName": {
            "type": "string",
            "example": "Display name for the version",
            "maxLength": 40,
            "minLength": 0
          },
          "declaredProducingApplicationVersionIds": {
            "type": "array",
            "items": {
              "type": "string",
              "example": [
                "5h2km5khkj",
                "h5mk26hkm2"
              ],
              "readOnly": true
            }
          },
          "declaredConsumingApplicationVersionIds": {
            "type": "array",
            "items": {
              "type": "string",
              "example": [
                "5h2km5khkj",
                "h5mk26hkm2"
              ],
              "readOnly": true
            }
          },
          "producingEventApiVersionIds": {
            "type": "array",
            "items": {
              "type": "string",
              "example": [
                "5h2km5khkj",
                "h5mk26hkm2"
              ],
              "readOnly": true
            }
          },
          "consumingEventApiVersionIds": {
            "type": "array",
            "items": {
              "type": "string",
              "example": [
                "5h2km5khkj",
                "h5mk26hkm2"
              ],
              "readOnly": true
            }
          },
          "attractingApplicationVersionIds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AttractingApplicationVersionTuple"
            },
            "readOnly": true
          },
          "schemaVersionId": {
            "type": "string",
            "example": "shb3mlyec2g"
          },
          "schemaPrimitiveType": {
            "type": "string",
            "enum": [
              "BOOLEAN",
              "BYTES",
              "DOUBLE",
              "FLOAT",
              "INT",
              "LONG",
              "NULL",
              "NUMBER",
              "STRING"
            ],
            "example": "BYTES"
          },
          "deliveryDescriptor": {
            "$ref": "#/components/schemas/DeliveryDescriptor"
          },
          "stateId": {
            "type": "string",
            "example": 1,
            "readOnly": true
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttribute"
            }
          },
          "messagingServiceIds": {
            "type": "array",
            "items": {
              "type": "string",
              "example": [
                "5h2km5khkj",
                "h5mk26hkm2"
              ],
              "readOnly": true
            }
          },
          "validationMessages": {
            "$ref": "#/components/schemas/ValidationMessagesDTO"
          },
          "endOfLifeDate": {
            "type": "string",
            "example": "2021-12-31T20:30:57.920Z"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "eventId",
          "version"
        ]
      },
      "EventVersionResponse": {
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/EventVersion"
          },
          "meta": {
            "type": "object",
            "additionalProperties": {}
          }
        }
      },
      "InvalidNonStateReference": {
        "type": "object",
        "properties": {
          "entityId": {
            "type": "string"
          },
          "entityType": {
            "type": "string"
          }
        }
      },
      "InvalidStateReference": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ErrorResponse"
          },
          {
            "type": "object",
            "properties": {
              "targetStateId": {
                "type": "string"
              },
              "inboundInvalidNonStateReferences": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/InvalidNonStateReference"
                }
              },
              "inboundInvalidStateReferences": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/InvalidStateReference"
                }
              },
              "outboundInvalidStateReferences": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/InvalidStateReference"
                }
              },
              "errorType": {
                "type": "string"
              }
            }
          }
        ]
      },
      "ValidationMessageContext": {
        "type": "object",
        "properties": {
          "entityNames": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "ids": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "uniqueItems": true
          },
          "entityType": {
            "type": "string"
          }
        }
      },
      "ValidationMessageDTO": {
        "type": "object",
        "properties": {
          "messageKey": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "context": {
            "$ref": "#/components/schemas/ValidationMessageContext"
          }
        }
      },
      "ValidationMessagesDTO": {
        "type": "object",
        "properties": {
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ValidationMessageDTO"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ValidationMessageDTO"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "APIToken": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```