Updating NIC Attachment Information of an ECS
Function
This API is used to update the NIC attachment information of an ECS. Currently, only delete_on_determination can be updated.
URI
PUT /v1/{project_id}/cloudservers/{server_id}/os-interface/{port_id}
Parameter |
Mandatory |
Description |
---|---|---|
project_id |
Yes |
Specifies the project ID. For details about how to obtain the ID, see Obtaining a Project ID. |
server_id |
Yes |
Specifies the ECS ID. |
port_id |
Yes |
Specifies the NIC ID. |
Request
Response
None
Example Request
PUT https://{endpoint}/v1/{project_id}/cloudservers/{server_id}/os-interface/{port_id} { "interface_attachment": { "delete_on_termination": true } }
Example Response
None
Returned Values
For details, see Returned Values for General Requests.
Error Codes
For details, 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