Skip to content

Conversation

kites262
Copy link
Member

@kites262 kites262 commented Jun 29, 2025

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


Close #1124
Relate SwanHubX/SwanLab-Docs#189

@SAKURA-CAT SAKURA-CAT merged commit df1ff98 into main Jun 30, 2025
5 checks passed
@SAKURA-CAT SAKURA-CAT deleted the feature/openapi/del branch June 30, 2025 05: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.

[REQUEST] 怎样通过API接口来删除某个项目
2 participants