diff --git a/site/docs/account/sipRegistrar.mdx b/site/docs/account/sipRegistrar.mdx index 5af1872b9..9994db74a 100644 --- a/site/docs/account/sipRegistrar.mdx +++ b/site/docs/account/sipRegistrar.mdx @@ -37,7 +37,7 @@ This guide walks through the initial setup for Bandwidth's Registrar. The Regist ## Steps {#steps} 1. [Create A Realm](#create-realm) 1. [Create SIP Credentials](#create-sip-credentials) -1. [Register Device](#register-sip-device) +1. [Register Device](#register-sip-device) 1. [Create call via Voice API](#create-call) ### Using the UI {#using-the-ui} @@ -236,7 +236,7 @@ Using your newly created Realm and Sip Credential, make a call using the Bandwid ```bash curl 'https://voice.bandwidth.com/api/v2/accounts/{BW_ACCOUNT_ID}/calls' \ -X POST \ - -U '{BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD}' \ + -u '{BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD}' \ -H 'Content-Type: application/json' \ -d '{ "from": "{BW_NUMBER}", diff --git a/site/docs/numbers/hostingNumbers.mdx b/site/docs/numbers/hostingNumbers.mdx index 6f67b4367..ac126b59c 100644 --- a/site/docs/numbers/hostingNumbers.mdx +++ b/site/docs/numbers/hostingNumbers.mdx @@ -83,7 +83,7 @@ values={[ ```curl curl -X POST 'https://dashboard.bandwidth.com/api/accounts/{accountId}/importTnChecker' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/xml' -d ' @@ -175,7 +175,7 @@ values={[ ```curl curl -X POST 'https://dashboard.bandwidth.com/api/accounts/{accountId}/importTnOrders' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/xml' -d ' marktestorders @@ -277,7 +277,7 @@ values={[ ```curl curl -X POST 'https://dashboard.bandwidth.com/api/accounts/{accountId}/importTnOrders/{orderId}/loas' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/pdf' -H 'Accept-Encoding: gzip, deflate' -H 'Accept: /' diff --git a/site/docs/numbers/lookupNumbers.mdx b/site/docs/numbers/lookupNumbers.mdx index ec5a7cc09..e4043c7f0 100644 --- a/site/docs/numbers/lookupNumbers.mdx +++ b/site/docs/numbers/lookupNumbers.mdx @@ -77,7 +77,7 @@ values={[ ```cURL curl -X POST 'https://numbers.bandwidth.com/api/v1/accounts/{accountId}/tnlookup' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/json' -d '{ "tns": [ @@ -134,7 +134,7 @@ values={[ ```cURL curl -X POST 'https://numbers.bandwidth.com/api/v1/accounts/{accountId}/tnlookup' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/json' -d '{ "tns": [ @@ -187,7 +187,7 @@ values={[ ```cURL curl 'https://numbers.bandwidth.com/api/v1/accounts/{accountId}/tnlookup/{requestId}' --U '{userName}:{password}' +-u '{userName}:{password}' ``` @@ -372,4 +372,4 @@ Content-Type: application/json ## Where to next? Now that you have learned how to lookup information for phone numbers, check out some of the other available actions in our guides: -- [How to order numbers](/docs/numbers/guides/searchingForNumbers) \ No newline at end of file +- [How to order numbers](/docs/numbers/guides/searchingForNumbers) diff --git a/site/docs/numbers/manage-inventory/applyTnOptionsAndFeatures.mdx b/site/docs/numbers/manage-inventory/applyTnOptionsAndFeatures.mdx index f6527a318..5b02915b3 100644 --- a/site/docs/numbers/manage-inventory/applyTnOptionsAndFeatures.mdx +++ b/site/docs/numbers/manage-inventory/applyTnOptionsAndFeatures.mdx @@ -103,7 +103,7 @@ values={[ ```curl curl -X PUT 'https://dashboard.bandwidth.com/api/accounts/{accountId}/sites/{siteId}/sippeers/{sippeerId}/tns/{tn}' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/xml' -d ' 2052160156 @@ -172,7 +172,7 @@ values={[ ```curl curl -X PUT 'https://dashboard.bandwidth.com/api/accounts/{accountId}/sites/{siteId}/sippeers/{sippeerId}/tns/{tn}' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/xml' -d ' 2052160156 @@ -243,7 +243,7 @@ values={[ ```curl curl -X PUT 'https://dashboard.bandwidth.com/api/accounts/{accountId}/sites/{siteId}/sippeers/{sippeerId}/tns/{tn}' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/xml' -d ' 2052160156 @@ -314,7 +314,7 @@ values={[ ```curl curl -X PUT 'https://dashboard.bandwidth.com/api/accounts/{accountId}/sites/{siteId}/sippeers/{sippeerId}/tns/{tn}' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/xml' -d ' 2052160156 @@ -405,7 +405,7 @@ values={[ ```curl curl -X POST 'https://dashboard.bandwidth.com/api/accounts/{accountId}/tnOptions' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/xml' -d ' TnOptionOrder1 @@ -521,7 +521,7 @@ values={[ ```curl curl -X POST 'https://dashboard.bandwidth.com/api/accounts/{accountId}/lidbs' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/xml' -d ' [String] @@ -665,7 +665,7 @@ values={[ ```curl curl -X POST 'https://dashboard.bandwidth.com/api/accounts/{accountId}/lidbs' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/xml' -d ' [String] diff --git a/site/docs/numbers/manage-inventory/searchingNumbers.mdx b/site/docs/numbers/manage-inventory/searchingNumbers.mdx index 537920751..2865ad266 100644 --- a/site/docs/numbers/manage-inventory/searchingNumbers.mdx +++ b/site/docs/numbers/manage-inventory/searchingNumbers.mdx @@ -85,7 +85,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -156,7 +156,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns?accountId=9900008' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -212,7 +212,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns?city=CARY' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -282,7 +282,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns?fullnumber=2012381139' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -338,7 +338,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns?npa=201' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -393,7 +393,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns?npaNxx=201238' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -448,7 +448,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns?npaNxxX=2012381' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -503,7 +503,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns?rateCenter=CARY' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -572,7 +572,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns?state=NC' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -641,7 +641,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns?tier=1' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -713,7 +713,7 @@ values={[ ```cURL curl -X POST 'https://dashboard.bandwidth.com/api/tns' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/xml' -d ' 3172000285 @@ -809,7 +809,7 @@ To show general number information, make a GET Response @@ -856,7 +856,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns/{tn}/tnDetails' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -927,7 +927,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns/{tn}/sites' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -965,7 +965,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns/{tn}/sippeers' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -1003,7 +1003,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns/{tn}/ratecenter' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -1043,7 +1043,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns/{tn}/lca' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -1100,7 +1100,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns/{tn}/lata' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -1139,7 +1139,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns/{tn}/tnreservation' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -1179,7 +1179,7 @@ values={[ ```curl curl 'https://dashboard.bandwidth.com/api/tns/{tn}/availableNnRoutes' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response diff --git a/site/docs/numbers/manage-inventory/setFailoverUri.mdx b/site/docs/numbers/manage-inventory/setFailoverUri.mdx index 151c1a9f6..1c2d2c386 100644 --- a/site/docs/numbers/manage-inventory/setFailoverUri.mdx +++ b/site/docs/numbers/manage-inventory/setFailoverUri.mdx @@ -98,7 +98,7 @@ values={[ ```curl curl -X PUT 'https://dashboard.bandwidth.com/api/accounts/{accountId}/sites/{siteId}/sippeers/{sippeerId}/tns/{tn}' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/xml' -d ' location_name @@ -161,7 +161,7 @@ values={[ ```curl curl -X PUT 'https://dashboard.bandwidth.com/api/accounts/{accountId}/sites/{siteId}/sippeers/{sippeerId}/tns/{tn}' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/xml' -d ' diff --git a/site/docs/numbers/porting/createBulkPortins.mdx b/site/docs/numbers/porting/createBulkPortins.mdx index 522b9860a..e59bea600 100644 --- a/site/docs/numbers/porting/createBulkPortins.mdx +++ b/site/docs/numbers/porting/createBulkPortins.mdx @@ -94,7 +94,7 @@ Note: Remember to add authentication for your application if needed! curl 'https://dashboard.bandwidth.com/api/accounts/{BW_ACCOUNT_ID}/bulkPortins' \ -X POST \ --U '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ +-u '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ -H 'Content-Type: application/xml' \ -d ' Order Id for all child orders @@ -180,7 +180,7 @@ Note: Remember to add authentication for your application if needed! curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/bulkPortins/{orderId}/tnList' \ -X POST \ --U '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ +-u '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ -H 'Content-Type: application/xml' \ -d ' [telephone number] diff --git a/site/docs/numbers/porting/lnpChecker.mdx b/site/docs/numbers/porting/lnpChecker.mdx index 0c798728a..3a8bd15c1 100644 --- a/site/docs/numbers/porting/lnpChecker.mdx +++ b/site/docs/numbers/porting/lnpChecker.mdx @@ -161,7 +161,7 @@ Note: Remember to add authentication for your application if needed! curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/lnpChecker?fullcheck=true' \ -X POST \ --U '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ +-u '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ -H 'Content-Type: application/xml' \ -d ' diff --git a/site/docs/numbers/porting/loaUpload.mdx b/site/docs/numbers/porting/loaUpload.mdx index 4cc076d4b..b47876744 100644 --- a/site/docs/numbers/porting/loaUpload.mdx +++ b/site/docs/numbers/porting/loaUpload.mdx @@ -149,7 +149,7 @@ To manage your LOA files use our APIs like [/portins/{orderid}/loas/{fileId}](/a ```xml curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/portins/{orderId}/loas/{fileId}/metadata' \ -X PUT \ --U '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ +-u '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ -H 'Content-Type: application/xml' \ -d ' [string] diff --git a/site/docs/numbers/porting/lsrOrders.mdx b/site/docs/numbers/porting/lsrOrders.mdx index b0739a800..99dc95ba4 100644 --- a/site/docs/numbers/porting/lsrOrders.mdx +++ b/site/docs/numbers/porting/lsrOrders.mdx @@ -99,7 +99,7 @@ Note: Remember to add authentication for your application if needed! curl 'https://dashboard.bandwidth.com/api/accounts/{BW_ACCOUNT_ID}/lsrorders' \ -X POST \ --U '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ +-u '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ -H 'Content-Type: application/xml' \ -d ' ATT-011515-324234 @@ -199,7 +199,7 @@ To poll for information about your LSR order you can still use a ATT-011515-324234 @@ -388,7 +388,7 @@ Note: Remember to add authentication for your application if needed! curl 'https://dashboard.bandwidth.com/api/accounts/{BW_ACCOUNT_ID}/lsrorders/afce454a-4e89-4753-9f58-a442ebc7b142' \ -X PUT \ --U '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ +-u '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ -H 'Content-Type: application/xml' \ -d ' CANCELLED diff --git a/site/docs/numbers/porting/portingNumbers.mdx b/site/docs/numbers/porting/portingNumbers.mdx index c784d6c79..699e73e57 100644 --- a/site/docs/numbers/porting/portingNumbers.mdx +++ b/site/docs/numbers/porting/portingNumbers.mdx @@ -144,7 +144,7 @@ Note: Remember to add authentication for your application if needed! curl 'https://dashboard.bandwidth.com/api/accounts/{BW_ACCOUNT_ID}/portins' \ -X POST \ --U '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ +-u '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ -H 'Content-Type: application/xml' \ -d ' 2016-03-25T21:15:00.000Z @@ -201,7 +201,7 @@ To poll for information about your port-in you can still use a IN_PROGRESS diff --git a/site/docs/numbers/porting/updateBulkPortins.mdx b/site/docs/numbers/porting/updateBulkPortins.mdx index 33788a518..59abcd4b5 100644 --- a/site/docs/numbers/porting/updateBulkPortins.mdx +++ b/site/docs/numbers/porting/updateBulkPortins.mdx @@ -104,7 +104,7 @@ Note: Remember to add authentication for your application if needed! curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/bulkPortins/{orderId}' \ -X POST \ --U '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ +-u '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ -H 'Content-Type: application/xml' \ -d ' Order Id for all child orders @@ -173,7 +173,7 @@ Note: Remember to add authentication for your application if needed! curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/bulkPortins/{orderId}' \ -X POST \ --U '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ +-u '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ -H 'Content-Type: application/xml' \ -d ' The Guy @@ -201,7 +201,7 @@ You can delete a bulk port-in order with child port-ins. Deleting a bulk port-in ```http curl -X DELETE https://dashboard.bandwidth.com/api/accounts/{accountId}/bulkPortins/{orderId}} \ --U '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ +-u '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ -H 'Content-Type: application/xml' ``` diff --git a/site/docs/numbers/porting/updatePortin.mdx b/site/docs/numbers/porting/updatePortin.mdx index c378439ca..ccac4f4d6 100644 --- a/site/docs/numbers/porting/updatePortin.mdx +++ b/site/docs/numbers/porting/updatePortin.mdx @@ -129,7 +129,7 @@ Note: Remember to add authentication for your application if needed! curl 'https://dashboard.bandwidth.com/api/accounts/{BW_ACCOUNT_ID}/portins/d28b36f7-fa96-49eb-9556-a40fca49f7c6' \ -X PUT \ --U '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ +-u '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ -H 'Content-Type: application/xml' \ -d ' SJM00002 @@ -208,7 +208,7 @@ The API allows a user to cancel an existing LNP order. The order number that was ```xml curl -X DELETE https://dashboard.bandwidth.com/api/accounts/{accountId}/portins/d28b36f7-fa96-49eb-9556-a40fca49f7c6 \ - -U '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ + -u '{BANDWIDTH_USERNAME}:{BANDWIDTH_PASSWORD}' \ -H 'Content-Type: application/xml' ``` diff --git a/site/docs/numbers/searchingAndOrderingNumbers.mdx b/site/docs/numbers/searchingAndOrderingNumbers.mdx index 0c3c65ed1..50f1ce10a 100644 --- a/site/docs/numbers/searchingAndOrderingNumbers.mdx +++ b/site/docs/numbers/searchingAndOrderingNumbers.mdx @@ -102,7 +102,7 @@ values={[ ```cURL curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/availableNumbers?areaCode=919&quantity=2' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -183,7 +183,7 @@ values={[ ```cURL curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/availableNumbers?npanxx=919228&quantity=2' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -251,7 +251,7 @@ values={[ ```cURL curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/availableNumbers?rateCenter=CARY&state=NC&quantity=2' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -313,7 +313,7 @@ values={[ ```cURL curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/availableNumbers?state=NC&quantity=2' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -375,7 +375,7 @@ values={[ ```cURL curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/availableNumbers?city=CARY&state=NC&quantity=2' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -437,7 +437,7 @@ values={[ ```cURL curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/availableNumbers?zip=27511&quantity=2' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -499,7 +499,7 @@ values={[ ```cURL curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/availableNumbers?lata=426&quantity=2' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -561,7 +561,7 @@ values={[ ```cURL curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/availableNumbers?localVanity=NEWCARS&quantity=2' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -623,7 +623,7 @@ values={[ ```cURL curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/availableNumbers?localVanity=NEWCARS&quantity=2' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -687,7 +687,7 @@ values={[ ```cURL curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/availableNumbers?tollFreeWildCardPattern=80*&quantity=2' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -756,7 +756,7 @@ values={[ ```cURL curl -X POST 'https://dashboard.bandwidth.com/api/accounts/{accountId}/orders' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/xml' -d ' 461 @@ -844,7 +844,7 @@ values={[ ```curl curl -X POST 'https://dashboard.bandwidth.com/api/accounts/{accountId}/subscriptions' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/xml' -d ' orders diff --git a/site/docs/numbers/setup-reports/accountReports.mdx b/site/docs/numbers/setup-reports/accountReports.mdx index ba8210019..2c01d37d5 100644 --- a/site/docs/numbers/setup-reports/accountReports.mdx +++ b/site/docs/numbers/setup-reports/accountReports.mdx @@ -54,7 +54,7 @@ values={[ ```cURL curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/reports' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -102,7 +102,7 @@ values={[ ```cURL curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/reports/{reportId}' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -186,7 +186,7 @@ values={[ ```cURL curl -X POST 'https://dashboard.bandwidth.com/api/accounts/{accountId}/reports/{reportId}/instances' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/xml' -d ' pdf @@ -241,7 +241,7 @@ values={[ ```cURL curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/reports/{reportId}/instances/{instanceId}' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -298,7 +298,7 @@ values={[ ```cURL curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/reports/{reportId}/instances/{instanceId}/file' --U '{userName}:{password}' +-u '{userName}:{password}' ``` diff --git a/site/docs/numbers/setup-reports/billingReports.mdx b/site/docs/numbers/setup-reports/billingReports.mdx index 7f963bc05..9eebbe256 100644 --- a/site/docs/numbers/setup-reports/billingReports.mdx +++ b/site/docs/numbers/setup-reports/billingReports.mdx @@ -53,7 +53,7 @@ values={[ ```cURL curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/billingreports' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -114,7 +114,7 @@ values={[ ```cURL curl -X POST 'https://dashboard.bandwidth.com/api/accounts/{accountId}/billingreports' --U '{userName}:{password}' +-u '{userName}:{password}' -H 'Content-Type: application/xml' -d ' BDR @@ -162,7 +162,7 @@ values={[ ```cURL curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/billingreports/{reportId}' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response @@ -200,7 +200,7 @@ values={[ ```cURL curl 'https://dashboard.bandwidth.com/api/accounts/{accountId}/billingreports/{reportId}/file' --U '{userName}:{password}' +-u '{userName}:{password}' ``` > Response diff --git a/site/docs/voice/callInformationGuide.mdx b/site/docs/voice/callInformationGuide.mdx index 674f652cd..86c03b092 100644 --- a/site/docs/voice/callInformationGuide.mdx +++ b/site/docs/voice/callInformationGuide.mdx @@ -62,7 +62,7 @@ Note: Remember to add authentication for your application if needed! curl 'https://voice.bandwidth.com/api/v2/accounts/{BW_ACCOUNT_ID}/calls' \ -X POST \ - -U '{BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD}' \ + -u '{BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD}' \ -H 'Content-Type: application/json' \ -d '{ "from": "{BW_NUMBER}", @@ -341,7 +341,7 @@ Using the unique `callId` returned in the response, we will make a `POST` reques Note: Remember to add authentication for your application if needed! curl 'https://voice.bandwidth.com/api/v2/accounts/{accountId}/calls/{callId}' \ - -U {BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD} + -u {BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD} ``` diff --git a/site/docs/voice/machineDetectionGuide.mdx b/site/docs/voice/machineDetectionGuide.mdx index 72259df6a..45626fb49 100644 --- a/site/docs/voice/machineDetectionGuide.mdx +++ b/site/docs/voice/machineDetectionGuide.mdx @@ -75,7 +75,7 @@ Note: Remember to add authentication for your application if needed! curl 'https://voice.bandwidth.com/api/v2/accounts/{BW_ACCOUNT_ID}/calls' \ -X POST \ - -U '{BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD}' \ + -u '{BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD}' \ -H 'Content-Type: application/json' \ -d '{ "from": "{BW_NUMBER}", @@ -475,7 +475,7 @@ Note: Remember to add authentication for your application if needed! curl 'https://voice.bandwidth.com/api/v2/accounts/{BW_ACCOUNT_ID}/calls' \ -X POST \ - -U '{BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD}' \ + -u '{BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD}' \ -H 'Content-Type: application/json' \ -d '{ "from": "{BW_NUMBER}", diff --git a/site/docs/voice/migrationGuide.mdx b/site/docs/voice/migrationGuide.mdx index 30097718d..ff71d861c 100644 --- a/site/docs/voice/migrationGuide.mdx +++ b/site/docs/voice/migrationGuide.mdx @@ -283,7 +283,7 @@ Note: Remember to add authentication for your application if needed! curl 'https://voice.bandwidth.com/api/v2/accounts/{BW_ACCOUNT_ID}/calls' \ -X POST \ - -U '{BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD}' \ + -u '{BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD}' \ -H 'Content-Type: application/json' \ -d '{ "from": "{BW_NUMBER}", diff --git a/site/docs/voice/modifyInProgressCallGuide.mdx b/site/docs/voice/modifyInProgressCallGuide.mdx index 5006af29a..3c534e711 100644 --- a/site/docs/voice/modifyInProgressCallGuide.mdx +++ b/site/docs/voice/modifyInProgressCallGuide.mdx @@ -180,7 +180,7 @@ POST https://voice.bandwidth.com/api/v60/accounts/{YOUR_ACCOUNT_ID}/calls/{THE_C curl 'https://voice.bandwidth.com/api/v60/accounts/{YOUR_ACCOUNT_ID}/calls/{THE_CALL_ID}' \ -X POST \ - -U {BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD} \ + -u {BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD} \ -H 'Content-Type: application/json' \ -d '{ "redirectUrl": "/goodbyeMessage", diff --git a/site/docs/voice/outboundCallGuide.mdx b/site/docs/voice/outboundCallGuide.mdx index 4a0a2b33e..c608e3dc8 100644 --- a/site/docs/voice/outboundCallGuide.mdx +++ b/site/docs/voice/outboundCallGuide.mdx @@ -60,7 +60,7 @@ Note: Remember to add authentication for your application if needed! curl 'https://voice.bandwidth.com/api/v2/accounts/{BW_ACCOUNT_ID}/calls' \ -X POST \ - -U '{BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD}' \ + -u '{BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD}' \ -H 'Content-Type: application/json' \ -d '{ "from": "{BW_NUMBER}", diff --git a/site/docs/voice/recordingGuide.mdx b/site/docs/voice/recordingGuide.mdx index ad8955f5f..9201612a9 100644 --- a/site/docs/voice/recordingGuide.mdx +++ b/site/docs/voice/recordingGuide.mdx @@ -578,7 +578,7 @@ After the call has completed you can retrieve information on the recording and d ```curl curl 'https://voice.bandwidth.com/api/v2/accounts/$BW_ACCOUNT_ID/calls/{CALL_ID}/recordings/{RECORDING_ID}' \ - -U {BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD} + -u {BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD} ``` @@ -786,7 +786,7 @@ POST https://voice.bandwidth.com/api/v2/accounts/{accountId}/calls/{callId}/reco curl 'https://voice.bandwidth.com/api/v2/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription' \ -X POST \ - -U {BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD} + -u {BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD} -H 'Content-Type: application/json' \ -d '{ "callbackUrl": "http://example.test/transcription", @@ -1171,7 +1171,7 @@ After the call has completed, you can download the transcribed file in JSON form ```curl curl 'https://voice.bandwidth.com/api/v2/accounts/{accountId}/calls/{callId}/recordings/{recordingId}/transcription' \ - -U {BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD} + -u {BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD} ```