Added in 24.11.
Use the unarchiveMessage
mutation to unarchive the archived message.
The fields of the mutation are given in the table below:
Field | Description | Required |
---|---|---|
messageId | The message ID you want to unarchive. | Yes |
destinationBoardId | The destination board ID where you want the message to move after unarchiving. | Yes |
Example
Use the example below to unarchive a message to an Idea board.
mutation {
unarchiveMessage(
messageId: "message:3376",
destinationBoardId:"board:ideas"
) {
result
errors {
__typename
}
}
}
The GraphQL response:
{
"data": {
"unarchiveMessage": {
"result": true,
"errors": null
}
}
}
ATLAS
Comments