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

# Revoke WebAuthn device

> Revoke a WebAuthn device (credential) by ID. Note: This endpoint is not used in the JS SDK. Use session revocation instead as sessions include device information. Requires a valid access token.



## OpenAPI

````yaml /swagger.json delete /v1/auth/{app_id}/devices/{id}
openapi: 3.0.1
info:
  title: Scute API
  version: v1
  description: API for managing users in Scute applications
servers:
  - url: https://{defaultHost}
    variables:
      defaultHost:
        default: api.scute.io
  - url: http://localhost:3333
    description: Development server
security:
  - apiSecret: []
    userAccess: []
paths:
  /v1/auth/{app_id}/devices/{id}:
    parameters:
      - name: app_id
        in: path
        required: true
        description: App ID
        schema:
          type: string
      - name: id
        in: path
        description: Device/Credential ID
        required: true
        schema:
          type: string
    delete:
      tags:
        - WebAuthn
      summary: Revoke WebAuthn device
      description: >-
        Revoke a WebAuthn device (credential) by ID. Note: This endpoint is not
        used in the JS SDK. Use session revocation instead as sessions include
        device information. Requires a valid access token.
      operationId: revokeDevice
      responses:
        '200':
          description: device revoked successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: ok
                  verified:
                    type: boolean
                    example: true
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Unauthorized
      security:
        - userAccess: []
components:
  securitySchemes:
    apiSecret:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: API Secret token
    userAccess:
      type: apiKey
      name: X-Authorization
      in: header
      description: User Access token

````