Delete the source file of a prompt that is no longer needed; returns an acknowledgement. Requires project.agents.write.
Arguments
projectReferenceString!requiredidString!requiredThe id of the definition, from its list.
sourceTargetKindWriteTargetKindThe source to write; default project. One of
project,preview_branch.targetBranchIdIDRequired with the kind preview_branch.
Responses
mutation DeletePrompt($projectReference: String!, $id: String!) { deletePrompt(projectReference: $projectReference, id: $id) { ok }}{ "data": { "deletePrompt": { "ok": false } }}The Acknowledgement! in data.deletePrompt.