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 AttributesdelDelete AttributepostDelete Attributes
CRMAttributes

Delete Attributes

View as MarkdownAgent setup

The bulk form of Delete Attribute, removing several attributes from every contact in one call. Same asynchronous behaviour: one background job per attribute, returned as job handles. Cannot be undone.

POST
/projects/{projectId}/crm/attributes/bulk-delete

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the attributes.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

attributeDistinctIdsrequiredarray<string>

Distinct IDs of the attributes to delete.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/projects/string/crm/attributes/bulk-delete" \  -H "Content-Type: application/json" \  -d '{    "attributeDistinctIds": [      "string"    ]  }'
[  {    "delete_id": "string",    "id": "string",    "import_id": "string",    "job": {      "created_at": "string",      "datasource": {        "id": "string",        "name": "string"      },      "delete_condition": "string",      "id": "string",      "is_cancellable": true,      "job_id": "string",      "kind": "string",      "started_at": "string",      "status": "string",      "updated_at": "string"    },    "job_id": "string",    "job_url": "http://example.com",    "status": "string"  }]

Delete Attribute

Removes an attribute from every contact in the project, deleting that property's stored values. Runs as a background job. The response contains job handles rather than a finished result, so the attribute keeps appearing in queries until the job completes. Anything filtering on it, such as a dynamic list, will stop matching. Cannot be undone.

List All

Lists a project's contact lists with a total `count`. Narrow to one kind with `type`, or pass `contactId` to find the lists a particular contact belongs to.