Skip to main content
PUT
/
container
/
{containerId}
/
network
Edit Container Network
curl --request PUT \
  --url https://api.qovery.com/container/{containerId}/network \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sticky_session": false
}'
{
  "sticky_session": false
}

Authorizations

Authorization
string
header
required

Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Prefix your token with "Token ". Curl Example: curl https://console.qovery.com/organization -H "Authorization: Token $qovery_token"

Path Parameters

containerId
string<uuid>
required

Container ID

Body

application/json
sticky_session
boolean
default:false

Specify if the sticky session option (also called persistant session) is activated or not for this container. If activated, user will be redirected by the load balancer to the same instance each time he access to the container.

Response

Updated container network setting

sticky_session
boolean
default:false

Specify if the sticky session option (also called persistant session) is activated or not for this container. If activated, user will be redirected by the load balancer to the same instance each time he access to the container.