Web API V2 - /api/v2/users-management/users DateTime format

Hello,

We are using SonarQube v10.5.1, and I am trying to query users to get the active SonarLint users with /api/v2/users-management/users utilizing the sonarQubeLastConnectionDateTo query parameter.

I have tried the example time format that is provided in the documentation in Postman with no luck. Below is the message I am receiving:

{
    "message": "The date '2020-01-01T00:00:00Z' does not respect format 'yyyy-MM-dd'T'HH:mm:ssZ'"
}

I have tried as many different variations of the format from the message, as well as the format provided in the documentation with no luck.

Hey there.

Your query should look like this:

http://localhost:9000/api/v2/users-management/users?sonarQubeLastConnectionDateTo=2020-01-01T00:00:00%2B0100

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.