Pens

Move a Pen to the trash

The Pen is listed under Deleted Items on the site and in GET /v2/trash, and can be restored for three days.

delete/v2/pens/{id}

Request

  • Base URL
    https://api.codepen.io
  • Auth
    • HTTP bearer
    • or API key in header X-API-Key

Response

Moved to the trash.

Changes

No recorded changes to this operation across all 1 revision of this API.