This is a preview of unreleased docs from main. View the published docs
Skip to main content

Set User Attribute

PUT 

/user-attributes/:slug

Set the value of a single user attribute for the authenticated audience member. The value is validated against the attribute's type: string accepts any string, number accepts any numeric value, boolean accepts a boolean, and enum accepts one of the attribute's configured options. A refreshed JWT containing the updated attribute claims is returned. Returns a 403 USER_ATTRIBUTE_NOT_EDITABLE error if the attribute is not editable by the member, or a 404 USER_ATTRIBUTE_NOT_FOUND error if it is not defined or is private.

Request​

Responses​