---
title: "Clear destination data"
method: POST
path: "/api/v1/project/{projectid}/jobs/{id}/clear-destination"
tags: ["Jobs"]
---

# Clear destination data

`POST /api/v1/project/{projectid}/jobs/{id}/clear-destination`

## Request

- The document declares no server URL.
- Auth: none declared

Initiate job to clear data in the destination associated with a job.

## Path parameters

- `projectid` string, required
- `id` integer, required

## Response `200`

clear destination triggered successfully

## Other responses

- `400`: failed to validate request
- `401`: unauthorized
- `404`: job not found
- `500`: failed to trigger clear destination

## Changes

- **2026-04-22** `f1bcf21b1556`: 1 info
  - added the non-success response with the status `404`
- **2026-02-07** `8881928f860b`: 1 info
  - removed the non-success response with the status `404`

[Operation history](https://skmtc.dev/datazip-inc/apis/olake-ui-api/changes/api/v1/project/:projectid/jobs/:id/clear-destination/post.md)

---

[API](https://skmtc.dev/datazip-inc/apis/olake-ui-api.md) - [All operations](https://skmtc.dev/datazip-inc/apis/olake-ui-api/llms.txt) - [OpenAPI document](https://skmtc.dev/datazip-inc/apis/olake-ui-api/revisions/6e70c7164502?raw)
