Cloning an Application
Function
This API is used to clone an application.
Calling Method
For details, see Calling APIs.
URI
POST /v1/applications/{app_id}/duplicate
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
app_id |
Yes |
String |
Application ID |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. It can be obtained by calling an IAM API. The value of X-Subject-Token in the response header is the user token. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
result |
AppBaseInfo object |
Basic application information |
status |
String |
Request success or failure status |
Example Requests
https://{endpoint}/v1/applications/42cf463ae2ab4c2e9825a8932874782f/duplicate
Example Responses
Status code: 200
OK: The request is successful.
{ "result" : { "id" : "a21d1951433c47a9b72cb72933d27df8", "name" : "Test_Copy_92131", "region" : "example", "is_disable" : false }, "status" : "success" }
Status Codes
Status Code |
Description |
---|---|
200 |
OK: The request is successful. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.