Delete the source file of a structured eval that is no longer needed, from the project source or a preview branch; returns an acknowledgement, or a conflict when the file must be edited in code because it defines other evals or builds the eval in code. Requires project.evals.write; API keys also need delete scope.
Arguments
projectReferenceString!requiredevalIdString!requiredinputWriteTargetInputinput.sourceTargetKindWriteTargetKindThe source to write; default project. One of
project,preview_branch.input.targetBranchIdIDRequired with the kind preview_branch.
Responses
mutation DeleteEval($projectReference: String!, $evalId: String!) { deleteEval(projectReference: $projectReference, evalId: $evalId) { ok }}{ "data": { "deleteEval": { "ok": false } }}The Acknowledgement! in data.deleteEval.