https://github.com/DataDog/datadog-api-client-python/blob/c7a29970129c64da56eac2e6c2d23d6bcb483cd6/src/datadog_api_client/v2/api/organizations_api.py#L69 According the docs the code here seems ok. https://docs.datadoghq.com/api/latest/organizations/?site=eu&code-lang=curl But this api url endpoint throws 500 internal server error. Got a working one: PUT https://api.datadoghq.eu/api/v2/login/org_configs/max_session_duration Note the slightly different url The body requires also some changes other than the docs are mentioning : ``` { "data": { "type": "max_session_duration", "attributes": { "max_session_duration": 3600 } }} ``` So this endpoint needs some update and tweaking.
datadog-api-client-python/src/datadog_api_client/v2/api/organizations_api.py
Line 69 in c7a2997
According the docs the code here seems ok. https://docs.datadoghq.com/api/latest/organizations/?site=eu&code-lang=curl But this api url endpoint throws 500 internal server error.
Got a working one:
PUT https://api.datadoghq.eu/api/v2/login/org_configs/max_session_duration
Note the slightly different url
The body requires also some changes other than the docs are mentioning :
So this endpoint needs some update and tweaking.