---
agentTools:
  projectIndex: https://kolideapi.readme.io/llms.txt
---

# Delete a device registration

Remove an existing device registration. This will prevent the
registered owner from authenticating with the device. If this device
is the only registered device for the person, their
Trust-On-First-Use (TOFU) status will be reset, allowing them to
register another device without needing admin approval. Deleting a
mobile device's registration will also remove the device from the
Kolide.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "2026-04-07",
    "title": "K2 API"
  },
  "servers": [
    {
      "url": "https://api.kolide.com/"
    }
  ],
  "security": [
    {
      "api_key": []
    }
  ],
  "paths": {
    "/devices/{deviceId}/registration": {
      "delete": {
        "summary": "Delete a device registration",
        "description": "Remove an existing device registration. This will prevent the\nregistered owner from authenticating with the device. If this device\nis the only registered device for the person, their\nTrust-On-First-Use (TOFU) status will be reset, allowing them to\nregister another device without needing admin approval. Deleting a\nmobile device's registration will also remove the device from the\nKolide.\n",
        "parameters": [
          {
            "name": "x-kolide-api-version",
            "in": "header",
            "description": "Specify the API version to be used",
            "required": false,
            "schema": {
              "type": "string",
              "default": "2026-04-07"
            }
          },
          {
            "name": "deviceId",
            "in": "path",
            "required": true,
            "description": "The device ID of the device registration",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted Device registration",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/device_registration"
                }
              }
            }
          },
          "401": {
            "description": "An 'unauthorized' response may occur for features restricted by or unavailable to your organization",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "an error message describing why the endpoint is unavailable",
                      "example": "This feature has been disabled by your organization"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "A 'forbidden' response may occur if the API key does not have necessary permissions to perform certain actions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "a succinct error message",
                      "example": "Forbidden"
                    },
                    "message": {
                      "type": "string",
                      "description": "A longer-form error message explaining the reason for the response",
                      "example": "The API key used is not authorized to perform this action"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "device_registration": {
        "type": "object",
        "properties": {
          "device_id": {
            "type": "string",
            "description": "The unique identifier for the device registration"
          },
          "registered_at": {
            "type": "string",
            "description": "The date and time the device registration was created",
            "format": "date-time"
          },
          "registered_owner_info": {
            "allOf": [
              {
                "description": "Information for fetching the complete data on the registered owner of the device"
              },
              {
                "$ref": "#/components/schemas/link-object"
              }
            ]
          },
          "device_info": {
            "allOf": [
              {
                "description": "Information for fetching the complete data on the device"
              },
              {
                "$ref": "#/components/schemas/link-object"
              }
            ]
          }
        }
      },
      "link-object": {
        "type": "object",
        "properties": {
          "identifier": {
            "type": "string",
            "description": "the canonical identifier for this object"
          },
          "link": {
            "type": "string",
            "format": "url",
            "description": "the API URL where complete information about this object can be found"
          }
        }
      }
    },
    "securitySchemes": {
      "api_key": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 105,
      "1": 226,
      "2": 139,
      "3": 67,
      "4": 129,
      "5": 230,
      "6": 244,
      "7": 250,
      "8": 221,
      "9": 30,
      "10": 223,
      "11": 173
    }
  }
}
```