Skip to content

Conversation

kites262
Copy link
Member

Description

Add DELETE APIs for projects and experiments

Delete Project

res = api.delete_project(
    username=username,
    project=project
)

res.code = 204 if project was deleted successfully

Delete Experiment

res = api.delete_experiment(
    username=username,
    project=project,
    exp_id=cuid
)

res.code = 204 if experiment was deleted successfully


Relate SwanHubX/SwanLab#1138

@Zeyi-Lin Zeyi-Lin merged commit 6fc33ee into main Jul 5, 2025
@Zeyi-Lin Zeyi-Lin deleted the feature/api/del branch July 8, 2025 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants