Skip to main content

Edit a service

Modify a service object.

Path Parameters
  • id string required

    The resource's unique identifier.

Request Body

The service object you want to edit

  • description string

    Possible values: <= 1023 characters

  • name string required

    Possible values: <= 63 characters

    Alphanumeric string [ 0-9a-zA-Z._-]

  • protocol object required
  • oneOf

  • tcp object
  • override object
  • halfclose_timeout integer

    Possible values: >= 1 and <= 604800

    Default value: 120

    tcp session half-close timeout value (in second)

  • timeout integer

    Possible values: >= 1 and <= 604800

    Default value: 3600

    tcp session timeout value (in second)

  • timewait_timeout integer

    Possible values: >= 1 and <= 600

    Default value: 15

    tcp session time-wait timeout value (in second)

  • port string required

    Possible values: non-empty and <= 1023 characters

  • source_port string

    Possible values: non-empty and <= 1023 characters

  • tag string[]

    Possible values: <= 64

    Tags for service object

  • Responses

    Ok

    Loading...