Can we mask password in API return?

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 ?