restoreCard( )


Deprecated. This function is being discontinued in the upcoming months. We are working to provide alternatives, and we'll provide timely updates before implementing any changes. We understand that this transition might present challenges, and we appreciate your patience and understanding.

Restores an archived workflow card.

The restoreCard() function returns a Promise that resolves when the archived card has been restored.

This function requires you to specify the ID of a card. To learn about retrieving IDs in the Workflow API, see Retrieving IDs.

Note: Each workflow is limited to 5,000 cards. If this limit is reached, createCard() throws an error. Archive cards when they're no longer needed to reduce card count and avoid hitting the limit.

Method Declaration
Copy
Method Parameters
cardIdstringRequired

ID of the card to restore.


optionsMoveCardOptionsRequired

Information about where to restore the card to.

Did this help?