Delete segment definition
Soft-deletes a custom, lead, or qualified lead segment definition.
The deleted definition stops being evaluated and is absent from get_segment_definitions, which can leave the organization with no definitions. Customer memberships associated with the definition are preserved. The service does not reuse a custom ID. Use create_segment_definition to restore a deleted lead or qualified lead definition.
customers:rwAuthorizations
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
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.
2
Response
The definition was deleted.