Skip to content
Navigation

Revoke a paired device and all refresh tokens

POST
/api/v1/devices/{deviceId}/revoke

Authorization

  • bearerAuth
    optional
    HTTP Bearer (API key)
    Authorization: Bearer <token>
  • cookieAuth
    optional
    API key in cookie

Path parameters

  • deviceId
    string
    required

    Device identifier

Returns

200

Device revoked

401

Unauthorized
JSON
  • error
    string
    required
  • ok
    optional
    boolean
  • detail
    optional
    string
  • code
    optional
    string

404

Device not found
JSON
  • error
    string
    required
  • ok
    optional
    boolean
  • detail
    optional
    string
  • code
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close