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

# Post organisations boards unpublish

> UnpublishBoard stops the board execution. This is an asynchronous request and will respond with a "202 Accepted"
to acknowledge that the board has been scheduled for termination. A `BoardUnpublishedEvent` will be emitted once
the board has actually been terminated which can be listened for over the websocket API.




## OpenAPI

````yaml post /organisations/{organisationId}/boards/{boardId}/unpublish
openapi: 3.0.3
info:
  title: Switchboard API
  description: >-
    The Switchboard API provides users the ability to manage their Apps,
    Integrations and Workflows
  version: 0.0.1-alpha.0
servers:
  - url: https://platform.versori.com/api/switchboard/v1alpha1/
    description: Production server
  - url: http://localhost:8080/v1alpha1/
    description: Localhost
security:
  - apiKey: []
paths:
  /organisations/{organisationId}/boards/{boardId}/unpublish:
    post:
      tags:
        - boards
      description: >
        UnpublishBoard stops the board execution. This is an asynchronous
        request and will respond with a "202 Accepted"

        to acknowledge that the board has been scheduled for termination. A
        `BoardUnpublishedEvent` will be emitted once

        the board has actually been terminated which can be listened for over
        the websocket API.
      operationId: UnpublishBoard
      parameters:
        - name: organisationId
          in: path
          required: true
          schema:
            type: string
          example: '101'
        - name: boardId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        $ref: '#/components/requestBodies/UnpublishBoardRequest'
      responses:
        '202':
          $ref: '#/components/responses/UnpublishBoardResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
components:
  requestBodies:
    UnpublishBoardRequest:
      description: >
        UnpublishBoardRequest is the payload to schedule an executing Board to
        be terminated
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BoardUnpublishCommand'
  responses:
    UnpublishBoardResponse:
      description: The response after a board has been scheduled to be terminated.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/BoardUnpublishResult'
    ErrorResponse:
      description: The default error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    BoardUnpublishCommand:
      type: object
      properties:
        taskId:
          type: string
      required:
        - taskId
    BoardUnpublishResult:
      description: >
        BoardUnpublishResult is used to indicate if the unpublish request has
        been accepted. The actual scheduling is

        done in the background and does not indicate the board has terminated.
      type: object
      properties:
        ok:
          type: boolean
      required:
        - ok
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        extensions:
          type: object
      required:
        - code
        - message
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization

````