AcquisityDeveloper Docs
Cold email agentCampaigns

Delete campaign

DELETE
/v1/workspaces/{workspaceId}/campaigns/{campaignId}

Authorization

bearerAuth
AuthorizationBearer <token>

Paste the full personal access token or organization API key value. Examples: acq_live_..., acq_org_.... Tokens can be limited to resource/action scopes such as workspaces:read, people:write, and deals:write. Some integration endpoints require an organization key even when a personal token has the named resource scope.

In: header

Path Parameters

workspaceId*string

Workspace id.

Formatuuid
campaignId*string

Campaign id.

Formatuuid

Header Parameters

idempotency-key*string

Required. Client-provided key that makes retries safe. Reusing the same key with the same request replays the original operation and never deletes twice. Recommended: a v4 UUID.

Length1 <= length <= 255

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/campaigns/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "idempotency-key: string"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "status": "succeeded",  "links": {    "self": "http://example.com"  }}
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "status": "queued",  "links": {    "self": "http://example.com"  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}
{  "error": {    "code": "string",    "message": "string",    "requestId": "string",    "details": null  }}