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

# Update a calendar event



## OpenAPI

````yaml /api-reference/community-v1.openapi.json patch /v1/community/events/{event_id}
openapi: 3.1.0
info:
  description: >-
    Public write API for COPE communities — communities, memberships, invites,
    posts, comments, channels, messages, events, challenges, and library
    resources.
  title: COPE Community API
  version: 1.0.0
servers:
  - url: https://api.cope.com
security: []
paths:
  /v1/community/events/{event_id}:
    patch:
      summary: Update a calendar event
      operationId: community.events.update
      parameters:
        - in: path
          name: event_id
          required: true
          schema:
            pattern: ^[A-Za-z0-9_-]+$
            type: string
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                allow_guests:
                  type: boolean
                cover_image_url:
                  format: uri
                  type: string
                currency:
                  pattern: ^[A-Z]{3}$
                  type: string
                description:
                  type: string
                enable_waitlist:
                  type: boolean
                end_time:
                  format: date-time
                  type: string
                event_type:
                  enum:
                    - meeting
                    - workshop
                    - webinar
                    - q_and_a
                    - social
                    - deadline
                    - office_hours
                    - other
                  type: string
                event_url:
                  format: uri
                  type: string
                is_recurring:
                  type: boolean
                location:
                  type: string
                max_capacity:
                  type: integer
                price_minor:
                  type: integer
                recurring_end_date:
                  format: date-time
                  type: string
                recurring_pattern:
                  type: string
                rsvp_deadline:
                  format: date-time
                  type: string
                start_time:
                  format: date-time
                  type: string
                timezone:
                  type: string
                title:
                  minLength: 1
                  type: string
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: false
                properties:
                  data:
                    additionalProperties: true
                    type: object
                required:
                  - data
                type: object
          description: Updated event
        '400':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Bad Request
        '401':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Unauthorized
        '403':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Forbidden
        '404':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Not Found
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
          description: Unprocessable Content
      security:
        - bearerAuth: []
components:
  schemas:
    Problem:
      properties:
        code:
          type: string
        detail:
          type: string
        errors:
          items:
            properties:
              code:
                type: string
              detail:
                type: string
              field:
                type: string
            required:
              - code
              - detail
            type: object
          type: array
        request_id:
          type: string
        status:
          type: integer
        title:
          type: string
        type:
          format: uri
          type: string
      required:
        - type
        - title
        - status
        - code
        - errors
      type: object
  securitySchemes:
    bearerAuth:
      description: >-
        Bearer credential for the public API. Send a live COPE API key
        (`cope_sk_live_*`), or a Clerk session token when acting as a signed-in
        user. Community operations are scoped to the authenticated user; include
        `X-Cope-Business-Id` to act on behalf of a specific business you own.
      scheme: bearer
      type: http

````