Skip to main content

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

ParameterTypeRequiredDescription
idstringYesRuleset identifier (path parameter)

Request Body

FieldTypeRequiredDescription
namestringNoUpdated ruleset name
activebooleanNoEnable 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

StatusMeaningSolution
401UnauthorizedCheck authentication credentials
404Not FoundRuleset does not exist

DELETE /profile-scoring/rulesets/{id}

Delete a profile scoring ruleset and all its associated rules. This action cannot be undone.

Request

ParameterTypeRequiredDescription
idstringYesRuleset 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

StatusMeaningSolution
401UnauthorizedCheck authentication credentials
404Not FoundRuleset 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: false instead of deleting if you might need the ruleset later