> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# updateEvent

> Update an existing event

**Required scopes:** `write:posts`, `host:write:network_events` (any one)



**mutation** `updateEvent(input: UpdateEventInput!): UpdateEventPayload`

## Arguments

**`input`**: `UpdateEventInput!` (required)

Parameters for UpdateEvent

## Returns

`UpdateEventPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`errors`**: `[String!]!`

---

**`event`**: `Event`

## Examples

```graphql Mutation
mutation UpdateEvent($input: UpdateEventInput!) {
  updateEvent(input: $input) {
    clientMutationId
    errors
    event {
      assets {
        aspectRatio
        assetStyle
        contentType
        fileSize
        id
        imageUrl
      }
      body
      bodyHtml
      bodyText
      cheerCount
      cheersEnabled
    }
  }
}
```

```json Variables
{
  "input": {
    "id": "id"
  }
}
```

```json Response
{
  "data": {
    "updateEvent": {
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "event": {
        "assets": [
          {
            "aspectRatio": 1.5,
            "assetStyle": "string",
            "contentType": "string",
            "fileSize": "string",
            "id": "id",
            "imageUrl": "string"
          }
        ],
        "body": "string",
        "bodyHtml": "string",
        "bodyText": "string",
        "cheerCount": 1,
        "cheersEnabled": true
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.