Projects

Projects are the core organizational units of EdgeWrap. Each project maps to your upstream origin services and holds its own WAF policies, caching rules, API keys, and observability logs.

Dashboard Setup & Configuration

You can create, update, and manage your projects directly inside the EdgeWrap Dashboard:

  1. Navigate to your dashboard at https://app.edgewrap.pro.
  2. Click the New Project button on the projects list page.
  3. Under settings, you can edit your project name, description, and primary origin URLs.
  4. Toggle individual security and performance features (such as WAF, Caching, DDoS Protection, Bot Detection, or Secret Shield) for the project.
  5. To delete a project, scroll to the bottom of the project settings tab and click Delete Project. Project deletion schedules a 30-day purge window.

Create a Project via API

ParamTypeDescription
namestringProject display name (1–100 chars)
descriptionstringOptional description (max 500 chars)
originUrlURLPrimary origin URL (must be https://)
customDomainstringCustom apex domain (e.g. api.mycompany.com)
Create a new project
curl -X POST https://server.edgewrap.pro/v1/projects \
  -H "Authorization: Bearer <your_session_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Payment API",
    "description": "Stripe payment integration layer",
    "originUrl": "https://payments.internal.mycompany.com"
  }'
201Success
{
  "success": true,
  "data": {
    "id": "prj_abc123def456",
    "slug": "payment-api",
    "name": "Payment API",
    "description": "Stripe payment integration layer",
    "originUrl": "https://payments.internal.mycompany.com",
    "edgeUrl": "https://payment-api-def456.edgewrap.pro",
    "status": "active",
    "wafEnabled": false,
    "cacheEnabled": false,
    "ddosProtectionEnabled": false,
    "botDetectionEnabled": false,
    "secretShieldEnabled": false,
    "createdAt": "2026-06-16T10:00:00.000Z"
  }
}

Update a Project via API

Any subset of the following settings can be updated in a single PATCH request.

ParamTypeDescription
namestringProject display name
descriptionstringProject description
wafEnabledbooleanToggle WAF protection
cacheEnabledbooleanToggle edge caching
ddosProtectionEnabledbooleanToggle DDoS shield
botDetectionEnabledbooleanToggle bot & fraud detection [Pro+]
secretShieldEnabledbooleanToggle Secret Shield [Pro+]
requestReplayEnabledbooleanToggle request replay storage [Pro+]
aiInsightsEnabledbooleanToggle AI insights analysis [Pro+]
sandboxEnabledbooleanToggle sandbox mode (mock responses)
Enable security features
curl -X PATCH https://server.edgewrap.pro/v1/projects/prj_abc123def456 \
  -H "Authorization: Bearer <your_session_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "wafEnabled": true,
    "cacheEnabled": true,
    "ddosProtectionEnabled": true,
    "botDetectionEnabled": true,
    "secretShieldEnabled": true
  }'

Project Status Types

StatusDescription
activeProxy is running and accepting client traffic.
readonlyBilling status issue — configuration access allowed, proxy traffic temporarily blocked.
pending_purgeProject scheduled for deletion, can be restored within the 30-day grace period.
purgedPermanently deleted; all configuration records and logs are deleted.

Delete & Restore via API

Deleting a project transitions its status to pending_purge. After 30 days, background jobs permanently delete all configuration and logs. You can cancel deletion within this grace window.

Delete and restore a project
# Schedule for deletion
curl -X DELETE https://server.edgewrap.pro/v1/projects/prj_abc123def456 \
  -H "Authorization: Bearer <your_session_token>"

# Cancel within the 30-day window
curl -X POST https://server.edgewrap.pro/v1/projects/prj_abc123def456/restore \
  -H "Authorization: Bearer <your_session_token>"

Plan Limits

PlanMax ProjectsGrace Projects (after cancel)
Free33
Starter53
Pro155
Team5010
Enterprise999999