Deleting export using API

Hi,
I want to delete an export using API. Can anyone guide me towards the documentation or just let me know the answer please?

Hi @scary.scarecrow, you can refer to the documentation here for your project:

https://{KF_URL}/api/v2/assets/{ASSET_UID}/exports

You can delete a specific export with a DELETE request to the export object:

curl -X DELETE https://{KF_URL}/api/v2/assets/{ASSET_UID}/exports/{EXPORT_UID} \
  -H "Authorization: Token {YOUR_SECRET_TOKEN}"
1 Like

Thank you @Josh for your prompt reply.

1 Like