For each submitted item, this endpoint removes its status as archived. These items will show up in voting pools going forward.
You may supply item ids, or unique nameRefs.
curl -X POST "<https://unduel.com/api/v1/item/unarchive?user=><user name>" \\
-H "X-API-Key: <api key>" \\
-H "Content-Type: application/json" \\
-d '{
"listId": "<list id>",
"items": [
{
"id": "<existing item id>"
}
]
}'
interface UnarchiveRequestBody {
items: { id?: string; nameRef?: string }[];
listId: string;
}
interface UnarchiveResponse {
success: boolean;
message?: string;
error?: string;
}