Description

How to modify the following SSR configuration option via API:

ssr_relaxed_tcp_state_enforcement : true

 

 

 

Symptoms

API config help requested.

Solution

Step 1. Fetch the service ID and Capture json output in pretty-print format.

https://api.mist.com/api/v1/docs/Org#services

Base url - /api/v1/orgs/:org_id/services

 

You need to go to https://api.mist.com/api/v1/orgs/:org_id/services (replace :org_id with actual org-id) to get the service ID

 

fetch service example for respective service -

https://api.mist.com/api/v1/orgs/<org_id>/services/<service_ID>

 

 

Step 2. Adding "ssr_relaxed_tcp_state_enforcement": true, in above step 1 and POST the config blob including the true statement.

(note: comma in included in "ssr_relaxed_tcp_state_enforcement": true,)

Note- API endpoint will need super user permission to change.

 

Below is snippet of modified config -

{

  "addresses": [

    "{{data_network_subnet}}",

    "{{data_network_subnet}}"

  ],

  "specs": [

    {

      "protocol": "any"

    }

  ],

  "traffic_type": "default",

  "ssr_relaxed_tcp_state_enforcement": true,

  "id": "<>",

  "name": "<>",

  "org_id": "<>",

  "created_time": 1732597283,

  "modified_time": 1732597283,

  "type": "custom"

}

Modification History

2025-05-21 : Article Created