Skip to main content
Effective Date — May 7, 2026
As part of the IAM hierarchy simplification, a new format of the TIR APIs is now available. All endpoints that previously included /teams/:team_id segment will now follow a service-centric structure, with project_id now passed as a query parameter instead of a path segment. You can read more about this change

Attach Security Group

Attaches one or more Security Groups to the Instance or Virtual Machine.

POST/notebooks/{Instance_id}/security-groups/

Path parameters

  • Instance_idPathintegerrequired

    Instance ID

Query parameters

  • project_idQueryintegerrequired

    Project ID

  • active_iamQueryintegeroptional

    Active IAM ID (To access contact person account) Find your Active IAM ID here

  • locationQuerystringrequired

    Location

Request body

application/json

object
security_groups_idsarray

Responses

200Security group added successfully
object
codeinteger
example200
datastring
exampleSecurity group addition successful
errorsobject
messagestring
exampleSuccess