Dissociates 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, go to the Flow Builder page, click the flow name to enter the canvas orchestration page, and manually take it offline, or call the OfflineFlowVersion operation to take the flow offline.
-
You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate them on the Flow Builder > Settings page.
-
Before calling this operation, make sure your successfully created flow has a phone number or merchant account ID associated with it.
-
If you have not associated a phone number or merchant account ID, you can manually associate one on the Flow Builder > Settings page, or call the FlowBindPhone operation to associate one.
-
After dissociating a phone number or merchant account ID from a flow, the flow cannot be published. You must re-associate a phone number or merchant account ID before the flow can be published.
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. You can view the flow code on the Flow Builder page. |
9ccc41************************** |
| PhoneNumbers |
array |
No |
The list of phone numbers, PageIds, AccountIds,or ServiceIds under the channel instance. |
|
|
string |
No |
A single phone number, PageId, AccountId,or ServiceId.
|
86188******** |
|
| FlowVersion |
string |
No |
The flow version. You can view the flow version by going to the Flow Builder page, clicking the flow name, and entering the flow editor canvas page. |
1 |
| ChannelType |
string |
No |
The message channel type. Valid values:
|
|
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
The details about the access denial. |
None |
| Message |
string |
The error message. |
None |
| RequestId |
string |
||
| Model |
boolean |
Indicates whether the operation is successful. Valid values:
|
true |
| Code |
string |
The request status code. |
OK |
| Success |
boolean |
Indicates whether the operation is 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.