Delete Upload

Delete Upload

DELETE
/api/portal/v1/charts/uploads/{id}

Description

Delete an uploaded file and its associated chart data. Cancels any active ingestion jobs for that upload.

Authentication

This endpoint requires a Bearer token in the Authorization header.

  • Authorization: Bearer <token>. A valid Portal API session token or API token.

Path Parameters

  • id: The id of the upload to delete.

Response Schema

  • message: A status message.

Error Responses

  • 401 Unauthorized: The Authorization header is missing or the token is not valid.
  • 404 Not Found: No upload exists with the given id on the caller’s account.
Example Request
DELETE https://<your-host>:9909/api/portal/v1/charts/uploads/5
Authorization: Bearer <token>

Example Response
Status Code: 200 OK
Response Body:
{
    "message": "Upload deletion scheduled"
}
VectorCharts.com © 2024, Zydro Marine Technologies, Inc. · vectorcharts.com