Skip to main content

Delete an import
deprecated

Request

This endpoint is deprecated. Use the delete recording endpoint instead.

Deleting an import deletes all data associated with the import.

This action is permanent and cannot be undone.

Security
ApiKey(Required scopes: data.imports.delete)
Path
importIdstringrequired

The importId of an import

Query
deviceIdstringdeprecated

The deviceId from the import record

Python
from foxglove.client import Client

token = "<YOUR API TOKEN HERE>"
client = Client(token=token)

client.delete_import(
    device_id=device_id,
    import_id=import_id,
)

Responses

Success

Bodyapplication/json
idstringrequired
Response
{ "id": "string" }