account

Delete Task Library Entry

Changed on

Take one finished make out of the customer's library.

With permanent=true its files are deleted for good as well (an upload the make took as an input is the customer's own file and stays): the files and addresses are removed or queued for removal, and the answer says outcome deleted. Without permanent the answer is exactly what it has always been. A make that is already deleted answers 200 again. 404 task_not_found for a make that is not the customer's, 409 conflict while it has not finished.

delete/account/tasks/{task_id}/library-entry

Request

  • Base URL
    https://api.beatra.ai (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

task_id, string required

Query parameters

permanent, boolean

Delete the whole make for good: its generated files, their thumbnails and covers, their share links and public addresses. Without it the make only leaves the library.

Headers

authorization, string nullable

Response

Successful Response

TaskLibraryDeleteResponse required

One finished make taken out of the library: without permanent, its files and their URLs stay.

With permanent=true the answer also says outcome deleted: the make was deleted for good (its files and their public addresses are removed or queued for removal). outcome is left out of the answer when the request was not permanent, so that answer is exactly what it has always been.

task_id, string required
status, 'deleted'
outcome, 'deleted' nullable

Changes

    • info

      added the new optional query request parameter permanent

    • info

      added the optional property outcome to the response with the status