# Undo recent edits (https://docs.fuser.studio/docs/api/canvas-undo)

## Try it [#try-it]

## Example [#example]

    ```bash
    curl -X POST https://api.fuser.studio/v1/canvas_undo \
      -H "x-api-key: $FUSER_API_KEY" \
      -H "content-type: application/json" \
      -d '{
      "canvasId": "3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c"
    }'
    ```

    ```ts
    const result = await fuser.canvas.undo({
      canvasId: '3f2b8c1e-7a4d-4e9b-9c2a-5d6e7f8a9b0c',
    });
    ```

    See the [TypeScript SDK](https://docs.fuser.studio/docs/api/sdk.md).

## Input [#input]

## Output [#output]