There are times when you want to delete an idea status from the system. This guide describes how to delete an idea status using the GraphQL API call.
Requirements
You must have the Create or delete statuses for ideas and Edit board settings set to Grant by the Administrator.
Example
In this example, we are going to delete the accepted idea status from the abhi_idea_1
board that was mapped to an idea.
Since the idea status was mapped with another idea, the replacement status key is a required field.
In the deleteIdeaStatus
mutation, we must pass the idea board ID where the status key was initially added, the status key that you want to delete, and the replacement status key.
mutation{
deleteIdeaStatus("boardId":"board:abhi_idea_1",
"statusKey":"accepted",
"replacementStatusKey":"new"){
"result"
}
}
Here is the response for this GraphQL API Call.
{
"data": {
"deleteIdeaStatus": {
"result": true,
"errors": null
}
}
}
ATLAS
Comments