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

# Partially update an event

> Update the fields of an event that the request sets; omitted fields keep their current values. <h3>OAuth</h3>Required scopes: <code>events</code>



## OpenAPI

````yaml /assets/openapi.json patch /events/v1/{id}
openapi: 3.0.2
info:
  title: Spacebring
  version: 1.0.0
  termsOfService: https://www.spacebring.com/terms
servers:
  - url: https://api.spacebring.com
security: []
paths:
  /events/v1/{id}:
    patch:
      tags:
        - Events
      summary: Partially update an event
      description: >-
        Update the fields of an event that the request sets; omitted fields keep
        their current values. <h3>OAuth</h3>Required scopes: <code>events</code>
      operationId: patchEvent
      parameters:
        - in: path
          name: id
          schema:
            type: string
            format: uuid
          required: true
          description: The id of the event.
        - in: header
          name: spacebring-network-id
          schema:
            type: string
            format: uuid
          required: false
          description: >-
            The id of the network. Required when using bearer token
            authentication
      requestBody:
        $ref: '#/components/requestBodies/patchEvent'
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/responseError'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/responseError'
      security:
        - BasicAuth: []
        - OAuth2:
            - events
components:
  requestBodies:
    patchEvent:
      content:
        application/json:
          schema:
            type: object
            properties:
              event:
                type: object
                properties:
                  applicationType:
                    type: string
                    enum:
                      - purchase
                      - none
                    description: >-
                      Event application type. purchase: paid signup (requires
                      price). none: free/RSVP-style.
                  confirmationEmail:
                    description: Confirmation email settings.
                    type: object
                    properties:
                      enabled:
                        type: boolean
                        description: >-
                          Whether a confirmation email is sent after
                          registration.
                      template:
                        type: string
                        description: HTML template for the confirmation email.
                    required:
                      - enabled
                  customTax:
                    description: Custom tax settings.
                    type: object
                    properties:
                      enabled:
                        type: boolean
                        description: Whether custom tax is enabled.
                      rate:
                        type: number
                        minimum: 0
                        description: Custom tax rate as a decimal.
                    required:
                      - enabled
                      - rate
                  description:
                    description: Full description of the event.
                    type: string
                  endDate:
                    type: string
                    format: date-time
                    description: ISO timestamp of when the event ends.
                  limitedAttendees:
                    description: Limited attendees settings.
                    type: object
                    properties:
                      enabled:
                        type: boolean
                        description: Whether attendee capacity is limited.
                      limit:
                        description: Maximum number of attendees when limited.
                        type: number
                        minimum: 0
                    required:
                      - enabled
                  media:
                    description: Media files attached to the event.
                    type: array
                    items:
                      type: object
                      properties:
                        key:
                          type: string
                          description: >-
                            Storage key of the media file, as returned by the
                            media upload endpoint.
                        url:
                          type: string
                          description: Public URL of the media file.
                  price:
                    description: >-
                      Pricing options for the event. Can enable credits, money,
                      or both.
                    type: object
                    properties:
                      credits:
                        description: Credits pricing.
                        type: object
                        properties:
                          amount:
                            type: number
                            minimum: 0
                            description: Ticket price in credits.
                          enabled:
                            type: boolean
                            description: Whether credits payment is enabled.
                        required:
                          - amount
                          - enabled
                      money:
                        description: Money pricing.
                        type: object
                        properties:
                          amount:
                            type: number
                            minimum: 0
                            description: Ticket price in money.
                          enabled:
                            type: boolean
                            description: Whether money payment is enabled.
                        required:
                          - amount
                          - enabled
                  refundThreshold:
                    description: How far in advance a refund can be requested.
                    type: string
                    enum:
                      - noRefund
                      - zeroMinutes
                      - fifteenMinutes
                      - thirtyMinutes
                      - oneHour
                      - twoHours
                      - fourHours
                      - sixHours
                      - twelveHours
                      - oneDay
                      - twoDays
                      - oneWeek
                      - twoWeeks
                      - fourWeeks
                  showAttendees:
                    type: boolean
                    description: Whether the attendees list is publicly visible.
                  startDate:
                    type: string
                    format: date-time
                    description: ISO timestamp of when the event starts.
                  ticketsPerAttendee:
                    nullable: true
                    description: >-
                      Maximum number of tickets one attendee can get for the
                      event. Set it to null to make the event unlimited.
                    type: integer
                    minimum: 1
                    maximum: 9007199254740991
                  title:
                    type: string
                    minLength: 1
                    description: Display name of the event.
                  venue:
                    description: Venue name or address within the location.
                    type: string
                  visibility:
                    description: Who can see this event.
                    type: string
                    enum:
                      - public
                      - admins
                      - networkMembers
                      - members
                description: >-
                  Event fields to change. Omitted fields keep their current
                  values.
            required:
              - event
      required: true
  schemas:
    responseError:
      type: object
      properties:
        message:
          type: string
        type:
          type: string
  securitySchemes:
    BasicAuth:
      type: http
      description: >-
        See our [authentication
        documentation](https://www.spacebring.com/docs/developer/api/authentication#basic-authentication)
        for how to authorize your requests
      scheme: basic
    OAuth2:
      type: oauth2
      description: >-
        See our [authentication
        documentation](https://www.spacebring.com/docs/developer/api/authentication#oauth2)
        for how to authorize your requests
      flows:
        authorizationCode:
          authorizationUrl: https://oauth2.spacebring.com/api/oauth2/authorize
          tokenUrl: https://oauth2.spacebring.com/api/oauth2/token
          refreshUrl: https://oauth2.spacebring.com/api/oauth2/token
          scopes:
            benefits.readonly: Read benefits and applications
            benefits: Read and write benefits and applications
            checkIns.readonly: Read check-ins
            checkIns: Read and write check-ins
            community.readonly: Read community companies and memberships
            community: Read and write community companies and memberships
            events.readonly: Read events and tickets
            events: Read and write events and tickets
            feed.readonly: Read feed posts
            feed: Read and write feed posts
            invoices.readonly: Read contracts, credit notes, discounts and invoices
            invoices: Read and write contract, credit notes, discounts and invoices
            locations.readonly: Read locations
            locations: Read and write locations
            plans.readonly: Read plans
            plans: Read and write plans
            resources.readonly: Read resources and bookings
            resources: Read and write resources and bookings
            subscriptions.readonly: Read subscriptions
            subscriptions: Read and write subscriptions
            shop.readonly: Read products and orders
            shop: Read and write products and orders
            support.readonly: Read support tickets
            support: Read and write support tickets
            transactions.readonly: Read transactions
            transactions: Read and write transactions
            visitors.readonly: Read visitors
            visitors: Read and write visitors

````

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