Delete Result
Sample request
The deleteResult mutation allows authenticated administrators to delete result in a Decidim accountability component. This mutation marks the result as deleted without permanently removing it from the database.
mutation deleteResult($componentId: ID!, $resultId: ID!){
component(id: $componentId){
... on AccountabilityMutation {
result(id: $resultId){
delete(id: $resultId) {
id
}
}
}
}
}
Example of submitted variables
{
"componentId": "3",
"resultId": "5"
}