Update details of a port

Update details of a port using the Infiny port ID.

Request

Endpoint: /api/ports/<port_id>/port
Method: POST
Headers: Accept: application/vnd.cloudlx.v1+json
Authorization: Bearer <access_token>

Example Request:

                                
    {
        "name": "My new port name"
    }
                                
                            

Request Values

name Description The new name for the port
Type String
Example My new port name

Response

Example:

                                
    {
        "success": true,
        "message": "Port updated successfully"
    }
                                
                            

Back to top