> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-openapi-sync-dataflows.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Revoke Dataset Access

> Revokes access to a specified dataset for a given user



## OpenAPI

````yaml /openapi/product/data-sets.yaml delete /api/data/v3/datasources/{datasetId}/permissions/USER/{userId}
openapi: 3.0.0
info:
  title: Datasets API
  version: v1
  description: >
    The Domo Datasets API provides a set of endpoints for managing, creating,
    and updating datasets within Domo. The API allows developers to execute SQL
    queries on datasets,

    manage access permissions, retrieve metadata, append rows, share datasets,
    and perform various dataset operations.
servers:
  - url: https://{instance}.domo.com
    description: Domo Instance
    variables:
      instance:
        default: example
        description: Your Domo instance name
security:
  - developerToken: []
paths:
  /api/data/v3/datasources/{datasetId}/permissions/USER/{userId}:
    delete:
      tags:
        - Datasets API
      summary: Revoke Dataset Access
      description: Revokes access to a specified dataset for a given user
      parameters:
        - name: datasetId
          in: path
          required: true
          description: The ID of the dataset
          schema:
            type: string
        - name: userId
          in: path
          required: true
          description: The ID of the user
          schema:
            type: string
      responses:
        '200':
          description: Access revoked successfully
      x-codeSamples:
        - lang: HTTP
          source: >
            DELETE
            /api/data/v3/datasources/{datasetId}/permissions/USER/{userId}
            HTTP/1.1

            Host: {instance}.domo.com

            X-DOMO-Developer-Token: {token}

            Content-Type: application/json
components:
  securitySchemes:
    developerToken:
      type: apiKey
      in: header
      name: X-DOMO-Developer-Token
      description: Developer token obtained from Domo

````