injected service use to handle the attribute related operations
injected logger used to handle the logging
request context [headers, body, params, query].
params.attributeId
is required200 Status Ok
This handler is used to update an attribute by applying the following steps in sequence:
Get the attributeId from params
Update the attribute (attributeService.updateAttribute)
Get the updated attribute (attributeService.getOneAttribute)
Return the updated attribute
Error
500 NBError Internal Server Error
Generated using TypeDoc
Update Attribute Handler