Supercheck LogoSupercheck
Organizations API

Restore a deleted project

POST
/api/projects/{id}/restore

Organization owners and admins. Undoes a project deletion within its 7 day restore window. Monitors and status pages beyond the plan limits stay paused or archived. Returns 409 with code RESTORE_WINDOW_ENDED once the window is over, or PURGE_STARTED while the project is being purged; 403 with code ORG_PENDING_DELETION while the organization is pending deletion, or PLAN_LIMIT when the plan has no room for another project. Not allowed while impersonating. Requires an interactive, same-origin browser session.

Authorization

sessionCookie
cookiebetter-auth.session_token<token>

Interactive Better Auth browser session. Secure deployments may use the __Secure- cookie prefix.

Path Parameters

id*string
Formatuuid

Response Body

Project restored

application/json
  1. response
success?boolean
message?string
Example Request
curl -X POST 'https://app.supercheck.io/api/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/restore'
Example Response
{  "success": true,  "message": "string"}