Skip to main content

Create security group rule

POST 

/security_groups/security_group/rules

Create a new security group rule

Scopes

  • security_groups

OAuth2 Scopes

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

Request

Body

    security_group

    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

Create a new security group rule

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...