Profile Scoring Ruleset by ID API
Update or delete an individual profile scoring ruleset.
PUT /profile-scoring/rulesets/{id}
Update an existing profile scoring ruleset.
Request
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Ruleset identifier (path parameter) |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | No | Updated ruleset name |
active | boolean | No | Enable or disable the ruleset |
{
"name": "Updated ICP Fit",
"active": false
}
Response
200 OK
{
"id": "ruleset-abc",
"name": "Updated ICP Fit",
"active": false,
"updated_at": "2025-01-15T12:00:00Z"
}
Example
curl -X PUT "https://api.leadvibe.com/profile-scoring/rulesets/ruleset-abc" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"name": "Updated ICP Fit", "active": false}'
Common Errors
| Status | Meaning | Solution |
|---|---|---|
| 401 | Unauthorized | Check authentication credentials |
| 404 | Not Found | Ruleset does not exist |
DELETE /profile-scoring/rulesets/{id}
Delete a profile scoring ruleset and all its associated rules. This action cannot be undone.
Request
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Ruleset identifier (path parameter) |
Response
204 No Content
Example
curl -X DELETE "https://api.leadvibe.com/profile-scoring/rulesets/ruleset-abc" \
-H "Authorization: Bearer <token>"
Common Errors
| Status | Meaning | Solution |
|---|---|---|
| 401 | Unauthorized | Check authentication credentials |
| 404 | Not Found | Ruleset does not exist |
Notes
- Deleting a ruleset also deletes all profile scoring rules within it
- Historical profile scores are preserved but will no longer update
- Consider setting
active: falseinstead of deleting if you might need the ruleset later
Related Endpoints
- Profile Scoring Rulesets - List and create profile rulesets
- Profile Scoring Rules - Rules within a profile ruleset