---
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`

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

---

[API](https://skmtc.net/datazip-inc/apis/olake-ui-api.md) · [All operations](https://skmtc.net/datazip-inc/apis/olake-ui-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datazip-inc/olake-ui-api/revisions/f1bcf21b1556/schema)
