Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedAgent setupWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference
Skills for agents

REST API

Quick start
getList ProjectsgetGet ProjectpostUpdate ProjectdelDelete ProjectdelCancel Project Member InvitepostInvite Project MembergetList Project Member InvitesgetList Project MembersdelRemove Project MemberpostUpdate Project Member InvitepostUpdate Project Member
ProjectsSettings

Delete Project

View as MarkdownAgent setup

Permanently deletes a project and everything cascading from it. Any queued usage is settled against the balance first, and the delete is refused with 403 if that leaves the project owing money. Top up before retrying. Returns the deleted project as it was at the point of deletion. This cannot be undone.

DELETE
/projects/{projectId}

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project to delete.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/projects/string"
{  "id": "string",  "createdAt": "string",  "updatedAt": "string",  "name": "string",  "tagline": "string",  "slug": "string",  "balance": 0,  "balanceVersion": -9007199254740991,  "thumbnail": "string",  "stripeCustomerId": "string",  "testStripeCustomerId": "string",  "autoTopUpEnabled": true,  "meta": {    "agentSetupStartedAt": "string",    "sdkInstalledAt": "string",    "onboardingCompletedAt": "string",    "onboardingStep": "name",    "onboardingManual": true,    "contactListVisibleColumns": [      {        "id": "string",        "order": 0      }    ],    "defaultEmailCampaignSendOrder": {      "direction": "asc",      "propertyKey": "string"    },    "emailFilterAutomatedEngagement": true,    "emailPauseFlaggedProviders": true,    "emailSunsetAfterSends": {      "property1": 1,      "property2": 1    },    "defaultEmailFromDomain": "string",    "defaultEmailFromName": "string",    "defaultEmailFromUsername": "string",    "companyAddressLine1": "string",    "companyAddressLine2": "string",    "companyCity": "string",    "companyRegion": "string",    "companyPostalCode": "string",    "companyCountry": "st",    "knowledgeArticlesVisibleColumns": [      {        "id": "string",        "order": 0      }    ],    "timezone": "string",    "setupGuideVisits": [      "string"    ],    "setupGuideSkips": [      "string"    ],    "setupGuideTestEmailSent": true,    "setupGuideGoLiveConfirmed": true  },  "liveProjectId": "string",  "autoTopUpAmount": 20,  "autoTopUpThreshold": 10}

Update Project

Updates a project's settings. Only the fields present in `changes` are written, so this is a partial update despite the POST. Slugs are unique across Saasco. Reusing one that belongs to another project returns 409.

Cancel Project Member Invite

Cancels a pending invite. Only a project admin can cancel one. The invited person no longer receives access from that invite.