Unbinds a phone number or merchant account ID from a flow.
Operation description
-
Before calling this operation, make sure your flow is in the offline state. If your flow is in the online state, click the flow name in the flow orchestration editor to go to the canvas and manually take it offline, or call the OfflineFlowVersion operation to take it offline.
-
You can call this operation to unbind a phone number or merchant account ID from a flow, or manually unbind it in the flow orchestration > Settings page.
-
Before calling this operation, make sure the flow you created has a phone number or merchant account ID bound to it.
-
If no phone number or merchant account ID is bound, manually bind one in the flow orchestration > Settings page, or call the FlowBindPhone operation to bind one.
-
After unbinding a phone number or merchant account ID from a flow, the flow cannot go online. You must bind a phone number or merchant account ID again before the flow can go online.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:FlowUnbindPhone |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FlowCode |
string |
Yes |
The flow code. View the flow code in the flow orchestration editor. |
9ccc41************************** |
| PhoneNumbers |
array |
No |
The list of phone numbers, PageIds, or AccountIds, or ServiceIds under the channel instance. |
|
|
string |
No |
A single phone number, PageId, or AccountId, or ServiceId.
|
86188******** |
|
| FlowVersion |
string |
No |
The flow version. Click the flow name in the flow orchestration editor to go to the canvas and view the flow version. |
1 |
| ChannelType |
string |
No |
The message channel type. Valid values:
|
|
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
The details of the access denial. |
None |
| Message |
string |
The error message. |
None |
| RequestId |
string |
The request ID. |
|
| Model |
boolean |
Indicates whether the operation was successful. Valid values:
|
true |
| Code |
string |
The request status code. |
OK |
| Success |
boolean |
Indicates whether the operation was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "None",
"Message": "None",
"RequestId": "",
"Model": true,
"Code": "OK",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.