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

# Delete a view

> Deletes a view, as the app does. Its owner or an admin deletes it. A view still shared is a 409: remove its shares in the app first. By the app's rules: a key acts as the member who created it (a person's key as that person), and holds views:update to act as an admin.



## OpenAPI

````yaml /api/statisfy-api.openapi.json delete /v1/views/{view_id}
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/views/{view_id}:
    delete:
      tags:
        - views
      summary: Delete a view
      description: >-
        Deletes a view, as the app does. Its owner or an admin deletes it. A
        view still shared is a 409: remove its shares in the app first. By the
        app's rules: a key acts as the member who created it (a person's key as
        that person), and holds views:update to act as an admin.
      operationId: views_delete
      parameters:
        - description: The view's id, from GET /v1/views
          in: path
          name: view_id
          required: true
          schema:
            minimum: 1
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedView'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    DeletedView:
      properties:
        deleted:
          const: true
          default: true
          title: Deleted
          type: boolean
        id:
          title: Id
          type: integer
      required:
        - id
      title: DeletedView
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

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