Skip to content

Endpoint throws 500 internal server error, #2986

@jmonsma

Description

@jmonsma

self._update_org_config_endpoint = _Endpoint(

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions