Delete Site

Archive a site. Forms under this site will also be archived.

sites.delete
DELETE/v1/sites/:id

Example Request

curl
curl -X DELETE "https://proforms.io/api/v1/sites/s_xyz789" \
  -H "Authorization: Bearer pf_your_api_key"

Response

200 OK
{
  "success": true,
  "data": {
    "message": "Site archived successfully"
  }
}
⚠️
Archiving a site will also archive all forms under it. Existing submissions are preserved but the forms will stop accepting new submissions.