Allocate Port

Allocate one of your ports to one of your customers.

Request

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

Example Request:

                                
    {
        "customer_id": 142
    }
                                
                            

Request Values

customer_id Description The ID of the customer.
Type Integer
Example 142

Response

Example:

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

Back to top