Assign

Assign

POST https://api.suble.io/projects/:projectId/floating_ips/:id/assign

Assign floating ip to virtual machine

Path Parameters

Name
Type
Description

projectId

string

Unique id for the project

id

string

Floating IP Id

Headers

Name
Type
Description

Authorization

string

User token or project key

Request Body

Name
Type
Description

vm

string

Id of virtual machine

{
    "status": "success"
}

Detach

DELETE https://api.suble.io/projects/:projectId/floating_ips/:id/assign?vm=:vm

Detach floating ip from virtual machine

Path Parameters

Name
Type
Description

projectId*

string

Unique id for the project

id*

string

Floating IP Id

Query Parameters

Name
Type
Description

vm*

ObjectID

VM ID

Headers

Name
Type
Description

Authorization*

string

User token or project key

{
    "status": "success"
}

Last updated