GET /ds/test

Runs a connection test for the connected directory service. Authentication is required.

Return format

If the connection test is successful, returns a 200 OK response with information about the test run.

For example:

{"elapsed": 10}

Error responses

  • 400 Bad Request if the request is malformed.
  • 401 Unauthorized if no user is logged in.
  • 403 Forbidden if the current user lacks the permissions to test the directory settings.
{"elapsed": 20, "error": "..."}