Skip to main content
PUT
Update a security group

Authorizations

Authorization
string
header
required

JWT token from authentication service

Headers

x-account-id
string

Account ID from authentication (must match path accountId)

x-user-id
string

User ID performing the action

X-Request-ID
string

Unique request ID for tracing

Path Parameters

accountId
string
required

Account external ID

Pattern: ^acct-[a-zA-Z0-9]+-v1$
projectId
string
required

Project external ID

Pattern: ^proj-[a-zA-Z0-9]+-v1$
securityGroupId
string
required

Security group external ID

Pattern: ^sg-[a-zA-Z0-9]+-v1$

Body

application/json
name
string

Updated security group name

Required string length: 1 - 255
description
string

Updated description

rules
object[]

Rules to create or update

metadata
object

Updated metadata

Response

Security group updated successfully

security_group
object
message
string
Example:

"Security group updated successfully"