Skip to main content
POST
Required scopes: customers:rw

Authorizations

Authorization
string
header
required

Use your account ID as the username and your personal access token (PAT) as the password, or pass a Base64-encoded value directly in the Authorization header. For more information, see the personal access tokens guide.

Body

application/json
segment_id
integer<int64>
required

The definition ID to delete. The lead definition at ID 0 exists initially and can be deleted before its first update. The qualified lead definition at ID 1 can be deleted only after the organization creates it. The API returns 404 for an unknown or deleted definition.

Example:

2

Response

The definition was deleted.