Skip to main content

Edit a service

PUT 

/sse/config/v1/services/:id

Modify a service object.

Request

Path Parameters

    id stringrequired

    The resource's unique identifier.

Body

The service object you want to edit

    description string

    Possible values: <= 1023 characters

    name stringrequired

    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 stringrequired

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