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

# Revoke Semantic Layer Permission

> Remove a single grant on a catalog, folder, or document.

Revoking is a soft delete: the grant stops applying at once and leaves the listing, and the row is kept with the actor and timestamp for the audit trail. Returns `204 No Content`.

```bash theme={null}
curl --request DELETE \
  --url https://api.nekt.ai/api/v1/semantic-layer/permissions/6f2a9c4b-2a10-4e7f-9c54-d2a9b1d28b0e/ \
  --header "x-api-key: YOUR_API_KEY"
```


## OpenAPI

````yaml DELETE /api/v1/semantic-layer/permissions/{id}/
openapi: 3.0.3
info:
  title: Nekt API
  version: v1
  description: Nekt API Documentation
  contact:
    email: support@nekt.ai
servers:
  - url: https://api.nekt.ai
security: []
paths:
  /api/v1/semantic-layer/permissions/{id}/:
    delete:
      tags:
        - v1
      description: Grants CRUD, mirroring LakehousePermissionsViewSet.
      operationId: v1_semantic_layer_permissions_destroy
      parameters:
        - in: path
          name: id
          schema:
            type: string
            format: uuid
          description: A UUID string identifying this Semantic Layer permission.
          required: true
      responses:
        '204':
          description: No response body
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: 'API Key authentication. Format: ''x-api-key: api_key'''

````