Add deleteChecksByTeam route

This commit is contained in:
Alex Holliday committed 2024-09-25 11:30:59 +08:00
1 parent 885a89e36b
commit c44152de93
1 file changed
+51
+51
View File
@@ -1617,6 +1617,57 @@
"bearerAuth": []
}
]
},
"delete": {
"tags": ["checks"],
"description": "Delete all checks for a team",
"parameters": [
{
"name": "teamId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SuccessResponse"
}
}
}
},
"422": {
"description": "Unprocessable Content",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Internal Server Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
},
"security": [
{
"bearerAuth": []
}
]
}
}
},