You can call this operation to rename a directory.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyFlowCategory

The operation that you want to perform. Set the value to ModifyFlowCategory.

Id String Yes FC-ABCDEFGHI****

The ID of the directory.

ProjectId String Yes FP-ABCDEFGHI****

The ID of the project.

RegionId String Yes cn-hangzhou

The ID of the region to which your project belongs.

Name String No Test

The name of the directory.

ParentId String No FC-ABCDEFGHI****

The ID of the parent directory.

Response parameters

Parameter Type Example Description
Data Boolean true

The result of the operation. The true value indicates that the modification succeeded. The false value indicates that the modification failed.

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>
	  <data>
		    <RequestId>CEA9AFD2-B340-41F4-A661-8916CBF07C32</RequestId>
		    <Data>true</Data>
	  </data>
	  <requestId>CEA9AFD2-B340-41F4-A661-8916CBF07C32</requestId>
</ModifyFlowCategoryResponse>

JSON format

{
	"requestId":"CEA9AFD2-B340-41F4-A661-8916CBF07C32",
	"data":{
		"Data":true,
		"RequestId":"CEA9AFD2-B340-41F4-A661-8916CBF07C32"
	}
}

Error codes

For a list of error codes, visit the API Error Center.