Delete Lead List
Lead Lists
Delete Lead List
Permanently deletes a lead list
DELETE
Delete Lead List
Permanently deletes a lead list by its unique identifier. This action cannot be undone.
Authentication
This endpoint requires authentication. Only users with access to the lead list (or admin users) can delete it.Request
The unique identifier of the lead list to delete.
Response
Returns an empty response with status code204 No Content on successful deletion.
No response body is returned on successful deletion.
Response Examples
Error Codes
| Status Code | Error Code | Description |
|---|---|---|
| 403 | FORBIDDEN | User does not have access to this lead list. Only users in userIds or admins can delete the list. |
| 404 | NOT_FOUND | No lead list exists with the specified ID. |
| 500 | INTERNAL_ERROR | An unexpected server error occurred. |
Authorization Rules
- Access Control: Only users whose ID is in the
userIdsarray can delete the lead list. - Admin Override: Users with the admin role can delete any lead list regardless of
userIds.
Notes
- Deleting a lead list does not delete the associated persons or companies. Only the list itself and its ID associations are removed.
- If you need to archive a list instead of permanently deleting it, consider implementing a soft-delete mechanism or moving the list to an archive state.