Skip to main content

Update Custom Attribute

Log in to add to favourites

Page last updated 12 June 2026

This endpoint is for updating a Custom Attribute for the specified project.
PUTapi/management/projects/{projectId}/personalization/attributes/{customAttributeId}

Parameter

NameParameter typeTypeDescription
projectId(required)pathstringThe project identifier found in the project overview screen of the management console.

Responses

HTTP status codeReasonModel
401UnauthorizedError
404Project not foundError
422Validation error(s)Error
500Internal server errorError

Examples

Update Custom Attribute including Id
JSON
{
    "id": "custom.updatedAttribute",
    "name": "My Custom Attribute",
    "description": "Updated Custom Attribute description limited to 140 characters",
    "type": "boolean"
}
Update where Id remains the same
JSON
{
    "name": "My Custom Attribute",
    "description": "Updated Custom Attribute description limited to 140 characters",
    "type": "boolean"
}

Remarks

A Custom Attribute name can still be updated even if the Custom Attribute is in use by a Signal.

A custom attribute name, id can both be updated providing they stay unique.

A custom attribute id can only be updated if it is currently not in use in a Signal.

The id must be prefixed with custom. to be valid.

The name and id must both be unique.

The type can only be integer, boolean or string.

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request