Update attribute template
Updates an existing attribute template including its name, key, type, fields, and resource associations. If a field with the same key already exists, it will be updated rather than duplicated.
/api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}AuthorizationBearer token · headerrequiredManagement API token, sent as Authorization: Bearer <token>.
app_slugstringrequiredApp slug
team_slugstringrequiredTeam slug
attribute_template_keystringrequiredKey of the attribute template
application/jsonAttribute data
fieldsinternal_pkg_webserver_v1.InputAttributeField[]Show propertiesHide properties
internal_pkg_webserver_v1.InputAttributeFieldkeystringrequiredKey of the attribute template field
namestringrequiredName for the attribute template field
typestringrequiredThe type of the attribute template field. This field defines how we should treat the field when you create, update or list attributes
booleantexthtmlnumberimagecolorimage_objectfilterablebooleankeystringKey of the attribute
namestringName of the attribute
resourcesstring[]translatablebooleantypestringName of the attribute
Attribute template
datagithub_com_enadhq_nabbit_internal_pkg_webserver_models.AttributeTemplaterequiredShow propertiesHide properties
attributesgithub_com_enadhq_nabbit_internal_pkg_webserver_models.Attribute[] | nullShow propertiesHide properties
github_com_enadhq_nabbit_internal_pkg_webserver_models.Attributecreated_atstringdescriptionstring | nullfilterableboolean | nullidstringkeystringnamestring | nulltemplate_keystringtemplate_namestringtranslatableboolean | nulltranslationsgithub_com_enadhq_nabbit_internal_pkg_webserver_models.AttributeTranslationsShow propertiesHide properties
descriptiongithub_com_enadhq_nabbit_internal_pkg_webserver_models.Translation[]Show propertiesHide properties
github_com_enadhq_nabbit_internal_pkg_webserver_models.Translationidstringlocalestringvaluestringnamegithub_com_enadhq_nabbit_internal_pkg_webserver_models.Translation[]updated_atstring | nullvaluesobject | nullcreated_atstringfieldsgithub_com_enadhq_nabbit_internal_pkg_webserver_models.AttributeTemplateField[] | nullShow propertiesHide properties
github_com_enadhq_nabbit_internal_pkg_webserver_models.AttributeTemplateFieldcreated_atstringidstringkeystringnamestringtypestringupdated_atstring | nullfilterablebooleanidstringkeystringnamestringresourcesstring[] | nulltranslatablebooleantypestringupdated_atstring | nulldetailsstring[]Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes
successbooleanrequiredInvalid request (e.g. bad UUID, validation error)
detailsstring[]messagestringsuccessbooleanrequiredUnauthorized access
detailsstring[]messagestringsuccessbooleanrequiredInternal server error
detailsstring[]messagestringsuccessbooleanrequired