Can we mask password in API return?

Tags: #<Tag:0x00007f3b91341678> #<Tag:0x00007f3b913414e8>

Right now, get device details API will include SNMP credentials in the the return output

curl -X DELETE -H ‘X-Auth-Token: YOURAPITOKENHERE’ https://librenms.org/api/v0/devices/hostname

Is there a way to mask or remove credentials in API return without change php source code ?