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

# Revoke Asset Share

> Revoke a share link by its UUID. Any active viewer sessions are cut off immediately. This cannot be undone.



## OpenAPI

````yaml delete /api/v2/asset/shares/revoke
openapi: 3.0.0
info:
  version: 1.0.0
  title: Octave API
  description: API for Octave workspace management and AI-powered content generation
servers:
  - url: https://app.octavehq.com
security:
  - ApiKeyAuth: []
paths:
  /api/v2/asset/shares/revoke:
    delete:
      tags:
        - Asset
      summary: Revoke Asset Share
      description: >-
        Revoke a share link by its UUID. Any active viewer sessions are cut off
        immediately. This cannot be undone.
      operationId: revokeShare
      parameters:
        - schema:
            type: string
            description: UUID of the asset. e.g. '4f1e2a90-8b3d-4c21-9e07-2a1b3c4d5e6f'
          required: true
          description: UUID of the asset. e.g. '4f1e2a90-8b3d-4c21-9e07-2a1b3c4d5e6f'
          name: uuid
          in: query
        - schema:
            type: string
            description: >-
              UUID of the share link, from asset_shares_list. e.g.
              'a1b2c3d4-5e6f-7081-92a3-b4c5d6e7f809'
          required: true
          description: >-
            UUID of the share link, from asset_shares_list. e.g.
            'a1b2c3d4-5e6f-7081-92a3-b4c5d6e7f809'
          name: shareUuid
          in: query
      responses:
        '200':
          description: Asset share revoked successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                  data:
                    type: object
                    properties:
                      success:
                        type: boolean
                        description: True when the share link was revoked. e.g. true
                      shareUuid:
                        type: string
                        description: >-
                          UUID of the revoked share link. e.g.
                          'a1b2c3d4-5e6f-7081-92a3-b4c5d6e7f809'
                    required:
                      - success
                      - shareUuid
                required:
                  - _metadata
                  - data
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                type: object
                properties:
                  _metadata:
                    $ref: '#/components/schemas/Metadata'
                required:
                  - _metadata
      deprecated: false
components:
  schemas:
    Metadata:
      type: object
      properties:
        usage:
          type: number
          default: 0
          example: 0
          description: API usage
        requestId:
          type: string
          example: requestId
          description: Request ID
        message:
          type: string
          example: message
          description: Message
        timestamp:
          type: string
          example: '2021-01-01T00:00:00.000Z'
          description: Timestamp
      required:
        - requestId
        - timestamp
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: api_key

````