> ## 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.

# Patch a resource

> Patch a certain resource. <h3>OAuth</h3>Required scopes: <code>resources</code>



## OpenAPI

````yaml /assets/openapi.json patch /resources/v1/{resourceId}
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:
  /resources/v1/{resourceId}:
    patch:
      tags:
        - Resources
      summary: Patch a resource
      description: >-
        Patch a certain resource. <h3>OAuth</h3>Required scopes:
        <code>resources</code>
      operationId: patchResource
      parameters:
        - in: path
          name: resourceId
          required: true
          description: The id of the resource.
          schema:
            type: string
            format: uuid
        - 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/patchResource'
      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:
            - resources
components:
  requestBodies:
    patchResource:
      content:
        application/json:
          schema:
            type: object
            properties:
              resource:
                type: object
                description: Resource fields to update.
                properties:
                  autoRelease:
                    description: Auto-release settings for no-show bookings.
                    type: object
                    properties:
                      enabled:
                        type: boolean
                        description: Whether auto-release is enabled.
                      interval:
                        type: string
                        enum:
                          - fiveMinutes
                          - tenMinutes
                          - fifteenMinutes
                        description: >-
                          Minutes after start or creation before the slot is
                          released.
                    required:
                      - enabled
                      - interval
                  avigilonAltaGroupRef:
                    description: Avigilon Alta access group reference.
                    nullable: true
                    type: number
                  bookingPermission:
                    type: string
                    enum:
                      - admins
                      - exclusiveMembers
                      - members
                      - networkMembers
                      - public
                    description: Who can create bookings on this resource.
                  bookingStepMinutes:
                    description: Booking step size in minutes.
                    type: number
                  bookingUnit:
                    description: >-
                      Whether bookings are measured in hours or in whole days.
                      With day, bookings always cover the whole schedule of the
                      day and the duration bounds are set to 24 hours. Defaults
                      to hour.
                    type: string
                    enum:
                      - hour
                      - day
                  bookingWindow:
                    description: >-
                      How soon and how far ahead users can book this resource.
                      While enabled is false, users can book it up to its start
                      and any time ahead, and the resource keeps its own values
                      for when it is enabled again. Administrators are not
                      limited by it.
                    type: object
                    properties:
                      bookAhead:
                        description: >-
                          How far ahead users can book the resource. Required
                          while enabled is true.
                        type: string
                        enum:
                          - oneDay
                          - twoDays
                          - oneWeek
                          - twoWeeks
                          - oneMonth
                          - threeMonths
                          - sixMonths
                          - oneYear
                          - unlimited
                      enabled:
                        type: boolean
                        description: >-
                          Whether bookings of the resource are limited by this
                          booking window. While it is false, users can book it
                          up to its start and any time ahead.
                      minNotice:
                        description: >-
                          How many minutes before it starts a booking of the
                          resource has to be made, up to 30 days. 0 accepts
                          bookings up to the start time. Required while enabled
                          is true.
                        type: integer
                        minimum: 0
                        maximum: 43200
                      public:
                        description: >-
                          Booking window for nonmembers. A booking of a
                          nonmember follows it instead of the booking window
                          above while it is enabled, even when that one is off.
                        type: object
                        properties:
                          bookAhead:
                            description: >-
                              How far ahead nonmembers can book the resource.
                              Required while enabled is true.
                            type: string
                            enum:
                              - oneDay
                              - twoDays
                              - oneWeek
                              - twoWeeks
                              - oneMonth
                              - threeMonths
                              - sixMonths
                              - oneYear
                              - unlimited
                          enabled:
                            type: boolean
                            description: >-
                              Whether bookings of nonmembers follow a separate
                              booking window. While it is false, they follow the
                              booking window above.
                          minNotice:
                            description: >-
                              How many minutes before it starts a booking of a
                              nonmember has to be made, up to 30 days. 0 accepts
                              bookings up to the start time. Required while
                              enabled is true.
                            type: integer
                            minimum: 0
                            maximum: 43200
                        required:
                          - enabled
                    required:
                      - enabled
                  brivoGroupRef:
                    description: Brivo access group reference.
                    nullable: true
                    type: number
                  bufferTime:
                    type: string
                    enum:
                      - zeroMinutes
                      - fiveMinutes
                      - tenMinutes
                      - fifteenMinutes
                      - thirtyMinutes
                      - sixtyMinutes
                    description: >-
                      Time kept free before and after each booking of a room or
                      desk. Other resource types ignore it.
                  capacity:
                    description: Maximum capacity per booking.
                    nullable: true
                    type: number
                  checkIn:
                    description: Check-in settings.
                    type: object
                    properties:
                      interval:
                        type: string
                        enum:
                          - zeroMinutes
                          - fiveMinutes
                          - tenMinutes
                          - fifteenMinutes
                        description: How early before start the guest must check in.
                    required:
                      - interval
                  confirmationEmail:
                    description: Confirmation email settings.
                    type: object
                    properties:
                      bookingCreatedByAdmin:
                        type: boolean
                        description: Send confirmation when the booking is for an admin.
                      bookingCreatedByMember:
                        type: boolean
                        description: Send confirmation when the booking is for a member.
                      bookingCreatedByNetworkMember:
                        type: boolean
                        description: >-
                          Send confirmation when the booking is for a network
                          member.
                      bookingCreatedByPublic:
                        type: boolean
                        description: >-
                          Send confirmation when the booking is for a public
                          user.
                      template:
                        type: string
                        description: Email template id for confirmation emails.
                    required:
                      - bookingCreatedByAdmin
                      - bookingCreatedByMember
                      - bookingCreatedByNetworkMember
                      - bookingCreatedByPublic
                      - template
                  credits:
                    description: Credit pricing settings.
                    type: object
                    properties:
                      enabled:
                        type: boolean
                        description: Whether customers can pay with location credits.
                      price:
                        description: Optional display price; tier data is authoritative.
                        type: number
                      tiers:
                        type: array
                        items:
                          type: object
                          properties:
                            flatAmount:
                              type: number
                              description: Fixed fee added once to bookings in this tier.
                            from:
                              type: number
                              description: >-
                                Booking length in minutes at which this tier
                                starts, 0 for the first tier and for example 480
                                for 8 hours.
                            unitAmount:
                              type: number
                              description: >-
                                Price per hour of booking within this tier, not
                                per minute, for example 40 for 40 per hour.
                          required:
                            - flatAmount
                            - from
                            - unitAmount
                        description: Stepped credit pricing tiers.
                    required:
                      - enabled
                      - tiers
                  dayPassesEnabled:
                    description: >-
                      Whether members can book this resource with day passes. A
                      booking takes one day pass per seat for each day it spans.
                    type: boolean
                  description:
                    type: string
                    description: Description of the resource.
                  duration:
                    description: Booking duration bounds.
                    type: object
                    properties:
                      max:
                        type: number
                        description: Maximum booking duration in minutes.
                      min:
                        type: number
                        description: Minimum booking duration in minutes.
                      public:
                        type: object
                        properties:
                          enabled:
                            type: boolean
                            description: >-
                              Whether public bookers have separate duration
                              limits.
                          max:
                            type: number
                            description: >-
                              Maximum booking duration in minutes for public
                              bookers.
                          min:
                            type: number
                            description: >-
                              Minimum booking duration in minutes for public
                              bookers.
                        required:
                          - enabled
                          - max
                          - min
                        description: Duration limits for public bookers.
                    required:
                      - max
                      - min
                      - public
                  dynamicPricing:
                    description: Dynamic pricing settings.
                    type: object
                    properties:
                      deltaAbove:
                        type: number
                        description: Maximum price increase percentage when demand is high.
                      deltaBelow:
                        type: number
                        description: Maximum price decrease percentage when demand is low.
                      enabled:
                        type: boolean
                        description: Whether dynamic pricing is enabled.
                    required:
                      - deltaAbove
                      - deltaBelow
                      - enabled
                  googleCalendar:
                    description: >-
                      Google Calendar integration settings. Pass null to
                      disconnect the calendar from the resource.
                    nullable: true
                    type: object
                    properties:
                      id:
                        type: string
                        description: Google Calendar id.
                      twoWaySyncEnabled:
                        type: boolean
                        description: Whether two-way sync is enabled.
                    required:
                      - id
                      - twoWaySyncEnabled
                  kisiGroupRef:
                    description: Kisi access group reference.
                    nullable: true
                    type: number
                  media:
                    description: >-
                      Images of the resource in display order, the first one
                      being its cover. On update the list replaces the current
                      images, and an empty list removes them all.
                    maxItems: 10
                    type: array
                    items:
                      type: object
                      properties:
                        key:
                          type: string
                          description: >-
                            Storage key of the uploaded image, as returned by
                            the media upload endpoint.
                      required:
                        - key
                  money:
                    description: Money pricing settings.
                    type: object
                    properties:
                      enabled:
                        type: boolean
                        description: Whether customers can pay with money.
                      price:
                        description: Optional display price; tier data is authoritative.
                        type: number
                      tiers:
                        type: array
                        items:
                          type: object
                          properties:
                            flatAmount:
                              type: number
                              description: Fixed fee added once to bookings in this tier.
                            from:
                              type: number
                              description: >-
                                Booking length in minutes at which this tier
                                starts, 0 for the first tier and for example 480
                                for 8 hours.
                            unitAmount:
                              type: number
                              description: >-
                                Price per hour of booking within this tier, not
                                per minute, for example 40 for 40 per hour.
                          required:
                            - flatAmount
                            - from
                            - unitAmount
                        description: Stepped money pricing tiers.
                    required:
                      - enabled
                      - tiers
                  outlookCalendar:
                    description: >-
                      Outlook Calendar integration settings. Pass null to
                      disconnect the calendar from the resource.
                    nullable: true
                    type: object
                    properties:
                      id:
                        type: string
                        description: Outlook calendar id.
                      twoWaySyncEnabled:
                        type: boolean
                        description: Whether two-way sync is enabled.
                    required:
                      - id
                      - twoWaySyncEnabled
                  parentRef:
                    description: Parent resource id when creating a child resource.
                    nullable: true
                    type: string
                    format: uuid
                  plans:
                    description: Membership plan tiers sold for this resource.
                    type: object
                    properties:
                      enabled:
                        type: boolean
                        description: >-
                          Whether membership plans can be sold for this
                          resource.
                      tiers:
                        type: array
                        items:
                          type: object
                          properties:
                            commitmentCycles:
                              type: number
                              description: >-
                                Number of billing cycles the member commits to
                                for this tier.
                            credits:
                              type: number
                              description: >-
                                Credits included per period in this membership
                                tier.
                            crossSells:
                              description: >-
                                Plans members can buy together with this tier.
                                Kept as stored when omitted.
                              type: object
                              properties:
                                plans:
                                  type: array
                                  items:
                                    type: string
                                    format: uuid
                                    description: Plan id.
                                  description: >-
                                    Plans of the same location and cycle, in the
                                    order they are offered.
                              required:
                                - plans
                            dayPasses:
                              description: >-
                                Optional number of day passes bundled with the
                                tier.
                              type: number
                            description:
                              description: Marketing or internal description of the tier.
                              type: string
                            discounts:
                              deprecated: true
                              description: Synthetic discount percentages by product type.
                              type: object
                              properties:
                                creditPackages:
                                  type: number
                                  description: Discount percentage for credit packages.
                                desks:
                                  type: number
                                  description: Discount percentage for desk bookings.
                                equipment:
                                  type: number
                                  description: Discount percentage for equipment bookings.
                                events:
                                  type: number
                                  description: Discount percentage for events.
                                rooms:
                                  type: number
                                  description: Discount percentage for room bookings.
                                shop:
                                  type: number
                                  description: Discount percentage for shop products.
                            entire:
                              type: boolean
                              description: >-
                                If true, tier grants access to the whole
                                resource.
                            ezeepBlueGroupRef:
                              description: Ezeep Blue printing group reference.
                              type: string
                            grantedDiscounts:
                              description: Coupons to grant to members on this tier.
                              type: array
                              items:
                                type: object
                                properties:
                                  coupon:
                                    type: object
                                    properties:
                                      amountOff:
                                        description: Fixed discount amount.
                                        type: number
                                      currencyCode:
                                        description: Currency code for amountOff.
                                        type: string
                                      id:
                                        type: string
                                        format: uuid
                                        description: Unique identifier of the coupon.
                                      percentOff:
                                        description: Percentage discount.
                                        type: number
                                      productTypes:
                                        type: array
                                        items:
                                          type: string
                                          enum:
                                            - roomBookings
                                            - eventSpaceBookings
                                            - conferenceRoomBookings
                                            - meetingRoomBookings
                                            - phoneBoothBookings
                                            - stationBookings
                                            - studioBookings
                                            - hotDeskBookings
                                            - dedicatedDeskBookings
                                            - officeBookings
                                            - parkingBookings
                                            - equipmentBookings
                                            - eventTickets
                                            - shopProducts
                                            - packages
                                            - subscriptionItems
                                        description: Product types the coupon applies to.
                                    required:
                                      - id
                                    description: Coupon to grant.
                                required:
                                  - coupon
                            id:
                              type: string
                              format: uuid
                              description: Unique identifier of the tier.
                            period:
                              type: string
                              enum:
                                - day
                                - week
                                - month
                                - threeMonths
                                - sixMonths
                                - year
                              description: Billing period label for the tier.
                            price:
                              type: number
                              description: >-
                                Recurring price for this tier in the location
                                currency.
                            selfSignup:
                              description: Self sign-up settings of the tier.
                              type: object
                              properties:
                                contract:
                                  description: >-
                                    Contract the customer signs to start a
                                    subscription from an immediate sign-up.
                                    Leave it out when none is required.
                                  type: object
                                  properties:
                                    templateRef:
                                      type: string
                                      format: uuid
                                      description: >-
                                        ID of a contract template of the
                                        resource's location.
                                  required:
                                    - templateRef
                                  additionalProperties: false
                                enabled:
                                  type: boolean
                                  description: >-
                                    Whether members may self-enroll into the
                                    tier.
                                type:
                                  type: string
                                  description: Self sign-up flow type.
                              required:
                                - enabled
                                - type
                            selfSignupType:
                              deprecated: true
                              description: >-
                                Deprecated. Use selfSignup.type instead. How
                                members may self-enroll, if applicable.
                              type: string
                            setupFee:
                              description: >-
                                One-time fee charged when subscribing to this
                                tier.
                              type: number
                            title:
                              type: string
                              description: Display name of the plan tier.
                          required:
                            - commitmentCycles
                            - credits
                            - entire
                            - id
                            - period
                            - price
                            - title
                        description: Sellable membership options for this resource.
                    required:
                      - enabled
                      - tiers
                  preparationMinutes:
                    type: string
                    enum:
                      - zeroMinutes
                      - fiveMinutes
                      - tenMinutes
                      - fifteenMinutes
                      - thirtyMinutes
                      - sixtyMinutes
                    description: Deprecated. Use bufferTime instead.
                    deprecated: true
                  pricingRules:
                    description: >-
                      Prices that replace the regular money and credit tiers for
                      bookings starting on the selected weekdays. The list holds
                      at most one rule. On update the list replaces the current
                      rule, and an empty list removes it.
                    maxItems: 1
                    type: array
                    items:
                      type: object
                      properties:
                        credits:
                          description: >-
                            Credit prices on the selected days, kept only while
                            credits are enabled. Omit to keep the regular credit
                            tiers on them.
                          type: object
                          properties:
                            tiers:
                              type: array
                              items:
                                type: object
                                properties:
                                  flatAmount:
                                    type: number
                                    description: >-
                                      Fixed fee added once to bookings in this
                                      tier.
                                  from:
                                    type: number
                                    description: >-
                                      Booking length in minutes at which this
                                      tier starts, 0 for the first tier and for
                                      example 480 for 8 hours.
                                  unitAmount:
                                    type: number
                                    description: >-
                                      Price per hour of booking within this
                                      tier, not per minute, for example 40 for
                                      40 per hour.
                                required:
                                  - flatAmount
                                  - from
                                  - unitAmount
                              description: >-
                                Stepped credit pricing tiers for the selected
                                days.
                          required:
                            - tiers
                        days:
                          type: object
                          properties:
                            friday:
                              type: boolean
                              description: >-
                                Whether the rule applies to bookings starting on
                                a Friday.
                            monday:
                              type: boolean
                              description: >-
                                Whether the rule applies to bookings starting on
                                a Monday.
                            saturday:
                              type: boolean
                              description: >-
                                Whether the rule applies to bookings starting on
                                a Saturday.
                            sunday:
                              type: boolean
                              description: >-
                                Whether the rule applies to bookings starting on
                                a Sunday.
                            thursday:
                              type: boolean
                              description: >-
                                Whether the rule applies to bookings starting on
                                a Thursday.
                            tuesday:
                              type: boolean
                              description: >-
                                Whether the rule applies to bookings starting on
                                a Tuesday.
                            wednesday:
                              type: boolean
                              description: >-
                                Whether the rule applies to bookings starting on
                                a Wednesday.
                          required:
                            - friday
                            - monday
                            - saturday
                            - sunday
                            - thursday
                            - tuesday
                            - wednesday
                          description: >-
                            Weekdays, in the location's time zone, on which a
                            booking that starts gets these prices. Select at
                            least one day.
                        money:
                          description: >-
                            Money prices on the selected days, kept only while
                            money is enabled. Omit to keep the regular money
                            tiers on them.
                          type: object
                          properties:
                            tiers:
                              type: array
                              items:
                                type: object
                                properties:
                                  flatAmount:
                                    type: number
                                    description: >-
                                      Fixed fee added once to bookings in this
                                      tier.
                                  from:
                                    type: number
                                    description: >-
                                      Booking length in minutes at which this
                                      tier starts, 0 for the first tier and for
                                      example 480 for 8 hours.
                                  unitAmount:
                                    type: number
                                    description: >-
                                      Price per hour of booking within this
                                      tier, not per minute, for example 40 for
                                      40 per hour.
                                required:
                                  - flatAmount
                                  - from
                                  - unitAmount
                              description: >-
                                Stepped money pricing tiers for the selected
                                days.
                          required:
                            - tiers
                      required:
                        - days
                  refundPolicy:
                    description: >-
                      Rescheduling policy. A booking takes the policy that
                      applies to its customer when it is made.
                    type: object
                    properties:
                      partialRefunds:
                        description: >-
                          Shares refunded when a booking is canceled after the
                          full refund period has ended. A cancellation gets the
                          share of the longest threshold it still meets, and
                          nothing once every threshold has passed. Each
                          threshold is shorter than value, and a shorter
                          threshold refunds a smaller share. On update, leave it
                          out to keep the current partial refunds, or send an
                          empty list to remove them.
                        maxItems: 5
                        type: array
                        items:
                          type: object
                          properties:
                            percent:
                              type: integer
                              minimum: 1
                              maximum: 99
                              description: >-
                                Share of what the booking was paid with that is
                                refunded, from 1 to 99.
                            value:
                              type: string
                              enum:
                                - zeroMinutes
                                - fifteenMinutes
                                - thirtyMinutes
                                - oneHour
                                - twoHours
                                - fourHours
                                - sixHours
                                - twelveHours
                                - oneDay
                                - twoDays
                                - oneWeek
                                - twoWeeks
                                - fourWeeks
                              description: >-
                                How long before start the booking must be
                                canceled to get this share back.
                          required:
                            - percent
                            - value
                      public:
                        type: object
                        properties:
                          enabled:
                            type: boolean
                            description: >-
                              Whether bookings of nonmembers follow a separate
                              rescheduling policy.
                          partialRefunds:
                            description: >-
                              Partial refunds for bookings of nonmembers. On
                              update, leave it out to keep the current partial
                              refunds, or send an empty list to remove them.
                            maxItems: 5
                            type: array
                            items:
                              type: object
                              properties:
                                percent:
                                  type: integer
                                  minimum: 1
                                  maximum: 99
                                  description: >-
                                    Share of what the booking was paid with that
                                    is refunded, from 1 to 99.
                                value:
                                  type: string
                                  enum:
                                    - zeroMinutes
                                    - fifteenMinutes
                                    - thirtyMinutes
                                    - oneHour
                                    - twoHours
                                    - fourHours
                                    - sixHours
                                    - twelveHours
                                    - oneDay
                                    - twoDays
                                    - oneWeek
                                    - twoWeeks
                                    - fourWeeks
                                  description: >-
                                    How long before start the booking must be
                                    canceled to get this share back.
                              required:
                                - percent
                                - value
                          value:
                            type: string
                            enum:
                              - noRefund
                              - zeroMinutes
                              - fifteenMinutes
                              - thirtyMinutes
                              - oneHour
                              - twoHours
                              - fourHours
                              - sixHours
                              - twelveHours
                              - oneDay
                              - twoDays
                              - oneWeek
                              - twoWeeks
                              - fourWeeks
                            description: >-
                              How long before start a booking of a nonmember
                              remains refundable.
                        required:
                          - enabled
                          - value
                        description: >-
                          Rescheduling policy for bookings of nonmembers. A
                          booking follows it instead of value when it is
                          enabled.
                      value:
                        type: string
                        enum:
                          - noRefund
                          - zeroMinutes
                          - fifteenMinutes
                          - thirtyMinutes
                          - oneHour
                          - twoHours
                          - fourHours
                          - sixHours
                          - twelveHours
                          - oneDay
                          - twoDays
                          - oneWeek
                          - twoWeeks
                          - fourWeeks
                        description: How long before start a booking remains refundable.
                    required:
                      - public
                      - value
                  refundThreshold:
                    deprecated: true
                    description: >-
                      Deprecated. Use refundPolicy.value instead. Ignored when
                      refundPolicy is sent.
                    type: string
                    enum:
                      - noRefund
                      - zeroMinutes
                      - fifteenMinutes
                      - thirtyMinutes
                      - oneHour
                      - twoHours
                      - fourHours
                      - sixHours
                      - twelveHours
                      - oneDay
                      - twoDays
                      - oneWeek
                      - twoWeeks
                      - fourWeeks
                  saltoksAccessGroupRef:
                    description: Salto KS access group reference.
                    nullable: true
                    type: string
                    format: uuid
                  schedule:
                    description: Availability schedule.
                    type: object
                    properties:
                      default:
                        type: object
                        properties:
                          closedDays:
                            type: array
                            items:
                              type: string
                            description: Dates in MM-DD format when the resource is closed.
                          items:
                            type: array
                            items:
                              type: object
                              properties:
                                days:
                                  type: object
                                  properties:
                                    friday:
                                      type: boolean
                                      description: >-
                                        Whether Friday is included in this
                                        schedule window.
                                    monday:
                                      type: boolean
                                      description: >-
                                        Whether Monday is included in this
                                        schedule window.
                                    saturday:
                                      type: boolean
                                      description: >-
                                        Whether Saturday is included in this
                                        schedule window.
                                    sunday:
                                      type: boolean
                                      description: >-
                                        Whether Sunday is included in this
                                        schedule window.
                                    thursday:
                                      type: boolean
                                      description: >-
                                        Whether Thursday is included in this
                                        schedule window.
                                    tuesday:
                                      type: boolean
                                      description: >-
                                        Whether Tuesday is included in this
                                        schedule window.
                                    wednesday:
                                      type: boolean
                                      description: >-
                                        Whether Wednesday is included in this
                                        schedule window.
                                  required:
                                    - friday
                                    - monday
                                    - saturday
                                    - sunday
                                    - thursday
                                    - tuesday
                                    - wednesday
                                  description: Weekdays this time window applies to.
                                hours:
                                  type: object
                                  properties:
                                    from:
                                      type: string
                                      description: Opening time in 24-hour "HH:mm" format.
                                    to:
                                      description: >-
                                        Closing time in 24-hour format, counted
                                        from the start of the weekday. A day
                                        that stays open past midnight closes
                                        after 24:00, for example at 26:00 for
                                        2:00 AM the next day, and at most 24
                                        hours after the opening time.
                                      type: string
                                  required:
                                    - from
                                    - to
                                  description: Open hours for the selected weekdays.
                              required:
                                - days
                                - hours
                            description: Weekly availability windows for members.
                        required:
                          - closedDays
                          - items
                        description: Default availability schedule.
                      enabled:
                        type: boolean
                        description: Whether scheduling is enabled.
                      public:
                        type: object
                        properties:
                          closedDays:
                            type: array
                            items:
                              type: string
                            description: >-
                              Dates in MM-DD format when the resource is closed
                              for public bookers.
                          enabled:
                            type: boolean
                            description: Whether the public schedule is enabled.
                          items:
                            type: array
                            items:
                              type: object
                              properties:
                                days:
                                  type: object
                                  properties:
                                    friday:
                                      type: boolean
                                      description: >-
                                        Whether Friday is included in this
                                        schedule window.
                                    monday:
                                      type: boolean
                                      description: >-
                                        Whether Monday is included in this
                                        schedule window.
                                    saturday:
                                      type: boolean
                                      description: >-
                                        Whether Saturday is included in this
                                        schedule window.
                                    sunday:
                                      type: boolean
                                      description: >-
                                        Whether Sunday is included in this
                                        schedule window.
                                    thursday:
                                      type: boolean
                                      description: >-
                                        Whether Thursday is included in this
                                        schedule window.
                                    tuesday:
                                      type: boolean
                                      description: >-
                                        Whether Tuesday is included in this
                                        schedule window.
                                    wednesday:
                                      type: boolean
                                      description: >-
                                        Whether Wednesday is included in this
                                        schedule window.
                                  required:
                                    - friday
                                    - monday
                                    - saturday
                                    - sunday
                                    - thursday
                                    - tuesday
                                    - wednesday
                                  description: Weekdays this time window applies to.
                                hours:
                                  type: object
                                  properties:
                                    from:
                                      type: string
                                      description: Opening time in 24-hour "HH:mm" format.
                                    to:
                                      description: >-
                                        Closing time in 24-hour format, counted
                                        from the start of the weekday. A day
                                        that stays open past midnight closes
                                        after 24:00, for example at 26:00 for
                                        2:00 AM the next day, and at most 24
                                        hours after the opening time.
                                      type: string
                                  required:
                                    - from
                                    - to
                                  description: Open hours for the selected weekdays.
                              required:
                                - days
                                - hours
                            description: Weekly availability windows for public bookers.
                        required:
                          - closedDays
                          - enabled
                          - items
                        description: Public availability schedule.
                    required:
                      - default
                      - enabled
                      - public
                  tapkeyGroupRef:
                    description: Tapkey access group reference.
                    nullable: true
                    type: string
                    format: uuid
                  unifiAccessGroupRef:
                    description: UniFi Access policy reference.
                    nullable: true
                    type: string
                  title:
                    type: string
                    minLength: 1
                    description: Display name of the resource.
                  type:
                    type: string
                    enum:
                      - dedicatedDesk
                      - equipment
                      - hotDesk
                      - office
                      - parkingLot
                      - room
                      - station
                      - conferenceRoom
                      - eventSpace
                      - meetingRoom
                      - phoneBooth
                      - studio
                    description: Type of the resource.
                  visibility:
                    type: string
                    enum:
                      - admins
                      - exclusiveMembers
                      - members
                      - networkMembers
                      - public
                    description: Who can see this resource in listings.
            required:
              - resource
      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
            campaigns.readonly: Read campaigns
            campaigns: Read and write campaigns
            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
            deliveries.readonly: Read deliveries
            deliveries: Read and write deliveries
            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.