Skip to main content
PATCH
/
v1
/
projects
/
{projectId}
/
vm
/
{id}
/
security-group
/
attach
Attach a security group to a virtual machine
curl --request PATCH \
  --url https://rest.compute.cudo.org/v1/projects/{projectId}/vm/{id}/security-group/attach \
  --header 'Authorization: <api-key>'
{}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Path Parameters

projectId
string
required
id
string
required

Query Parameters

securityGroupId
string

Response

A successful response.

The response is of type object.