Remove execution cases in a batch
POST/project/executionCases/batch-delete
Removes each execution case independently. A failed item does not roll back successful items.
Request
Query Parameters
The team ID
- application/json
Body
required
Possible values: >= 1
Responses
- 200
- 401
- 403
- 404
- 500
Returns successful execution case IDs and per-item failures.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
data
object
Execution case IDs that were updated or removed successfully.
failedCases
object[]
required
Per-item failures. These failures do not roll back successful items.
The execution case ID that failed.
The failure code for this execution case.
The failure message for this execution case.
The result of this request.
The error code of this request.
Error message for this request.
Error meta data for this request.
{
"result": "SUCCESS",
"data": {
"successExecutionCaseIDs": [
"executionCaseUUID1"
],
"failedCases": [
{
"executionCaseID": "executionCaseUUID2",
"code": "AccessDenied",
"message": "No permission to operate this execution case"
}
]
}
}
Returned if the authentication credentials are incorrect or missing.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Unauthorized",
"errorMsg": "Access token is invalid"
}
Returns if the scope check fails.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Forbidden",
"errorMsg": "Scope is invalid"
}
Returned if the resource object was not found.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "NotFound",
"errorMsg": "Not Found"
}
Internal Server Error.
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Internal Server Error",
"errorMsg": "Internal Server Error"
}