Update ICP
ICPs
Update ICP
Updates an existing ICP (Ideal Customer Profile) with partial data
PATCH
Update ICP
Updates an existing ICP (Ideal Customer Profile) with the provided fields. This endpoint supports partial updates - only include the fields you want to change. Fields not included in the request body will remain unchanged.
Authentication
This endpoint requires authentication. The user must be signed in.Users can only update ICPs where they are listed in the
userIds array, or if
they are an admin user. Attempting to update an ICP without proper
authorization will result in a 403 Forbidden error.Request
The unique identifier (UUID) of the ICP to update.
Request Body
All fields are optional. Only include the fields you want to update.The display name of the ICP.
A description of the ICP’s target profile. Set to
null to clear.Array of Clerk user IDs that should have access to this ICP.
The default number of leads to include when generating lead lists from this
ICP.
ISO 8601 timestamp indicating when the ICP expires. Set to
null for
indefinite.Array of search criteria configurations for lead providers.
Array of custom filtering rules applied to leads after retrieval.
CRM filter configuration. Set to
null to remove. This field is both optional and nullable.Response
Returns the complete updated ICP object.Unique identifier (UUID) for the ICP.
The display name of the ICP.
A description of the ICP’s target profile.
ISO 8601 timestamp of when the ICP was created.
ISO 8601 timestamp of when the ICP was last updated (will reflect the update
time).
Array of Clerk user IDs that have access to this ICP.
The default number of leads per list.
ISO 8601 timestamp indicating when the ICP expires.
Array of search criteria configurations for lead providers.
Array of custom filtering rules.
CRM filter configuration. This field is both optional and nullable.
Response Examples
Error Codes
| Status Code | Error Code | Description |
|---|---|---|
| 400 | BAD_REQUEST | Invalid request body. Check the details field for specific validation errors. |
| 401 | UNAUTHORIZED | User is not authenticated. Ensure a valid session exists. |
| 403 | FORBIDDEN | User does not have access to this ICP. |
| 404 | NOT_FOUND | No ICP exists with the specified ID. |
| 500 | INTERNAL_ERROR | An unexpected server error occurred. |