Changing the Default Migration Project
Function
This API is used to change the default migration project. If you change the default migration project, the source server will be registered under the changed project.
URI
PUT /v3/migprojects/{mig_project_id}/default
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
mig_project_id |
Yes |
String |
Specifies the migration project ID Minimum length: 0 characters Maximum length: 255 characters |
Request
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Specifies the user token. It can be obtained by calling the IAM API (value of X-Subject-Token in the response header). Minimum length: 1 character Maximum length: 16,384 characters |
Response
None
Example Request
Change the default migration project to 137224b7-8d7c-4919-b33e-ed159778xxx.
PUT https://{endpoint}/v3/migprojects/137224b7-8d7c-4919-b33e-ed159778xxxx/default
Example Response
None
Status Codes
Status Code |
Description |
---|---|
200 |
The default migration project has been changed successfully. |
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.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot