Returns a list of feature access codes.
OK
const response = await fetch('http://127.0.0.1:8888/api/feature_access_codes', { method: 'GET', headers: {}, }); const data = await response.json();
{ "items": [ { "code": "text", "feature": "ACCESSING_SHARED_VOICEMAIL", "enabled": false } ] }
Update properties of a feature access code.
const response = await fetch('http://127.0.0.1:8888/api/feature_access_codes', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();