Skip to main content

Update security group rule

PATCH 

/security_groups/rules/security_group_rule

Updates a security group rule with new properties

Scopes

  • security_groups

OAuth2 Scopes

When using OAuth2 authentication, scopes are prefixed with api.katapult.io/core/v1/.

Request

Body

    security_group_rule

    object

    required

    id string

    properties

    object

    required

    direction SecurityGroupRuleDirectionEnum (string)

    Possible values: [inbound, outbound]

    protocol SecurityGroupRuleProtocolEnum (string)

    Possible values: [TCP, UDP, ICMP]

    action SecurityGroupRuleActionEnum (string)

    Possible values: [allow, deny]

    ports string

    Either single port (ie. 80), multi-port (ie. 80,443) or range (ie. 2000-3000).

    targets string[]
    notes string

Responses

Updates a security group rule with new properties

Schema

    security_group_rule

    object

    required

    id string

    security_group

    object

    id string
    name string
    direction SecurityGroupRuleDirectionEnum (string)

    Possible values: [inbound, outbound]

    protocol SecurityGroupRuleProtocolEnum (string)

    Possible values: [TCP, UDP, ICMP]

    action SecurityGroupRuleActionEnum (string)

    Possible values: [allow, deny]

    ports stringnullable
    targets string[]
    notes stringnullable
Loading...