Info: Assign a voicemail inbox to a phone number. Pass voicemail_inbox_id of "none" to remove inbox from did
Additionally, if you would like the number to go straight to voicemail (no routing to your PBX or SIP account), add stv=yes to your web call. To remove this, assign the inbox again but this time with stv=no.