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

# Remove a domain's scan login

> Removes the domain's scan login. Later crawls and scans run as an anonymous visitor. Calling it when no login is set still succeeds.



## OpenAPI

````yaml /api-reference/openapi.json delete /v1/domains/{slug}/scan-auth
openapi: 3.1.0
info:
  title: ility API
  version: 1.0.0
  description: Read accessibility results and start scans in your ility workspace.
servers:
  - url: https://app.ilitylabs.com
security:
  - apiKey: []
tags:
  - name: Workspaces
  - name: Surfaces
  - name: Domains
  - name: Scans
  - name: Issues
paths:
  /v1/domains/{slug}/scan-auth:
    delete:
      tags:
        - Domains
      summary: Remove a domain's scan login
      description: >-
        Removes the domain's scan login. Later crawls and scans run as an
        anonymous visitor. Calling it when no login is set still succeeds.
      parameters:
        - schema:
            type: string
            minLength: 1
          required: true
          name: slug
          in: path
      responses:
        '204':
          description: Removed
        '403':
          description: Forbidden (viewer role)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        detail:
          type: string
        reason:
          type: string
      required:
        - detail
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        An ility API key, such as `ilk_1a2b3c4d_…`. Workspace owners create keys
        under Settings → API keys.

````

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