Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Fix voice API version in URL #1160

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions site/docs/voice/modifyInProgressCallGuide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ In this example, the BXML that is in the `redirectUrl` will immediately replace
```payload
//Note: remember to add auth for your application if needed!

POST https://voice.bandwidth.com/api/v60/accounts/{YOUR_ACCOUNT_ID}/calls/{THE_CALL_ID}
POST https://voice.bandwidth.com/api/v2/accounts/{YOUR_ACCOUNT_ID}/calls/{THE_CALL_ID}
{
"redirectUrl": "/goodbyeMessage",
}
Expand All @@ -178,7 +178,7 @@ POST https://voice.bandwidth.com/api/v60/accounts/{YOUR_ACCOUNT_ID}/calls/{THE_C
```cURL
//Note: remember to add auth for your application if needed!

curl 'https://voice.bandwidth.com/api/v60/accounts/{YOUR_ACCOUNT_ID}/calls/{THE_CALL_ID}' \
curl 'https://voice.bandwidth.com/api/v2/accounts/{YOUR_ACCOUNT_ID}/calls/{THE_CALL_ID}' \
-X POST \
-u {BANDWIDTH_USERNAME}:{BANDWIDTH:PASSWORD} \
-H 'Content-Type: application/json' \
Expand Down
Loading