Skip to main content
PUT
/
application
/
{applicationId}
/
network
Edit Application Network
curl --request PUT \
  --url https://api.qovery.com/application/{applicationId}/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

applicationId
string<uuid>
required

Application 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 application. If activated, user will be redirected by the load balancer to the same instance each time he access to the application.

Response

Updated application network setting

sticky_session
boolean
default:false

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