Skip to main content
This endpoint permanently deletes a repository and every asset it contains. Only the repository owner can delete a repository. The deletion cascades to all datasets stored in the repository, so make sure you have exported or backed up any data you need before calling this endpoint.
Deleting a repository is irreversible. All datasets and associated data inside the repository are permanently removed. There is no way to recover them after deletion.

Request

DELETE https://api.alphacast.io/repositories/{repository_id}
No request body is required.

Authentication

This endpoint requires HTTP Basic Auth. Pass your API key as the username and leave the password empty.

Path parameters

repository_id
integer
required
The numeric ID of the repository to delete.

Response

Returns 204 No Content on success. The response body is empty.

Errors

StatusMeaning
403You do not have Owner permission on this repository.
404No repository with the given ID exists, or you do not have access to it.

Example

curl -u YOUR_API_KEY: \
  -X DELETE \
  https://api.alphacast.io/repositories/101
(empty response body)