You can call ModifyFlowCategory operation to rename a directory.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyFlowCategory |
The operation that you want to perform. This parameter is required for API requests that you create by piecing together HTTP or HTTPS URLs. Set the value to ModifyFlowCategory. |
Id | String | Yes | FC-ABCDEFGHI**** |
The ID of the directory. You can call DescribeFlowCategory View data on the Member Management page. |
ProjectId | String | Yes | FP-ABCDEFGHI**** |
The ID of the project. You can call ListFlowProject View the ID of the project. |
RegionId | String | Yes | cn-hangzhou |
The region ID of the instance. You can call DescribeRegions To view the latest list of Alibaba Cloud regions. |
Name | String | No | Test |
The new name of the directory. You can call DescribeFlowCategory View data on the Member Management page. |
ParentId | String | No | FC-ABCDEFGHI**** |
The ID of the parent directory. You can call DescribeFlowCategory View data on the Member Management page. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Data | Boolean | true |
The execution results are returned, including the following:
|
RequestId | String | CEA9AFD2-B340-41F4-A661-8916CBF07C32 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ModifyFlowCategory
&Id=FC-ABCDEFGHI****
&ProjectId=FP-ABCDEFGHI****
&RegionId=cn-hangzhou
&<common request parameters>
Sample success responses
XML
format
<ModifyFlowCategoryResponse>
<RequestId>CEA9AFD2-B340-41F4-A661-8916CBF07C32</RequestId>
<Data>true</Data>
</ModifyFlowCategoryResponse>
JSON
Syntax
{
"RequestId": "CEA9AFD2-B340-41F4-A661-8916CBF07C32",
"Data": true
}