Skip to main content
POST
/
security-groups
/
{id}
/
servers
/
attach
Attach a server
curl --request POST \
  --url https://console.cloudblast.io/api/v2/security-groups/{id}/servers/attach \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "server_uuid": "a1b2c3d4"
}
'
{
  "data": {
    "status": "attached"
  }
}

Authorizations

Authorization
string
header
required

API token from your CloudBlast account settings. Pass as Authorization: Bearer <token>.

Path Parameters

id
integer
required

Security group ID

Body

application/json
server_uuid
string
required

Server UUID or short UUID

Example:

"a1b2c3d4"

Response

Server attached

data
object