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

# Update Subscription

> UpdateSubscription updates the subscription for the given Organisation. This endpoint can be used to increase the board quota of an organisation. It will update the billing information to reflect the amount of boards that are allowed to be published.



## OpenAPI

````yaml /openapi/organisations-api-v1.yaml put /organisations/{organisation_id}/billing/update-subscription
openapi: 3.1.0
info:
  title: Organisations API
  description: >-
    The Organisations API provides users the ability to manage their
    organisations.
  version: v1
servers:
  - url: https://platform.versori.com/api/organisations/v1
    description: Production server
  - url: http://localhost:8081/v1
    description: Localhost
security: []
tags:
  - name: organisations
    description: >
      Organisations is the root-level entity for the Versori platform. All
      resources are scoped under an Organisation,

      each Organisation has an owner and can have multiple members.
  - name: signing-keys
    description: >
      Signing keys are used to sign JWTs which can be used to authenticate
      requests to the Versori platform.
paths:
  /organisations/{organisation_id}/billing/update-subscription:
    parameters:
      - $ref: '#/components/parameters/organisation_id'
    put:
      summary: Update Subscription
      description: >-
        UpdateSubscription updates the subscription for the given Organisation.
        This endpoint can be used to increase the board quota of an
        organisation. It will update the billing information to reflect the
        amount of boards that are allowed to be published.
      operationId: UpdateSubscription
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateSubscriptionRequest'
      responses:
        '204':
          description: No Content
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  parameters:
    organisation_id:
      name: organisation_id
      in: path
      x-go-name: OrganisationID
      required: true
      schema:
        type: string
  schemas:
    UpdateSubscriptionRequest:
      type: object
      properties:
        boardQuota:
          description: >-
            BoardQuota is the maximum number of Switchboard boards the
            Organisation is allowed to publish. It is also used to determine the
            amount of free executions and users that an organisation is allowed.
          type: integer
        boardType:
          description: >-
            BoardType is the type of board that the Organisation is allowed to
            publish - Hub or Regular.
          type: string
          enum:
            - hub
            - regular
    Error:
      type: object
      properties:
        code:
          type: string
          description: Code is a machine-readable error code.
        message:
          type: string
          description: Message is a human-readable error message.
        cause:
          type: string
          x-go-type-skip-optional-pointer: true
      required:
        - code
        - message

````